mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 06:49:24 +08:00
134 lines
6.6 KiB
Nix
134 lines
6.6 KiB
Nix
inputs: rec
|
|
{
|
|
vesta = inputs.pkgs.callPackage ./vesta.nix {};
|
|
rsshub = inputs.pkgs.callPackage ./rsshub.nix { inherit mkPnpmPackage; src = inputs.topInputs.rsshub; };
|
|
misskey = inputs.pkgs.callPackage ./misskey.nix
|
|
{
|
|
inherit mkPnpmPackage;
|
|
src = inputs.topInputs.misskey;
|
|
extraIntegritySha256 = inputs.topInputs.self.src.misskey;
|
|
};
|
|
vaspkit = inputs.pkgs.callPackage ./vaspkit.nix { inherit (inputs.localLib) attrsToList; };
|
|
v-sim = inputs.pkgs.callPackage ./v-sim.nix { src = inputs.topInputs.v-sim; };
|
|
concurrencpp = inputs.pkgs.callPackage ./concurrencpp.nix { src = inputs.topInputs.concurrencpp; };
|
|
matplotplusplus = inputs.pkgs.callPackage ./matplotplusplus.nix
|
|
{
|
|
src = inputs.topInputs.matplotplusplus;
|
|
stdenv = inputs.pkgs.clang18Stdenv;
|
|
};
|
|
zpp-bits = inputs.pkgs.callPackage ./zpp-bits.nix { src = inputs.topInputs.zpp-bits; };
|
|
eigen = inputs.pkgs.callPackage ./eigen.nix { src = inputs.topInputs.eigen; };
|
|
nameof = inputs.pkgs.callPackage ./nameof.nix { src = inputs.topInputs.nameof; };
|
|
pslist = inputs.pkgs.callPackage ./pslist.nix {};
|
|
tgbot-cpp = inputs.pkgs.callPackage ./tgbot-cpp.nix { src = inputs.topInputs.tgbot-cpp; };
|
|
mirism-old = inputs.pkgs.callPackage ./mirism-old.nix
|
|
{
|
|
inherit cppcoro nameof tgbot-cpp date;
|
|
nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs."nixpkgs-23.05"}/pkgs/development/libraries/nghttp2"
|
|
{ enableAsioLib = true; stdenv = inputs.pkgs.gcc12Stdenv; };
|
|
stdenv = inputs.pkgs.gcc12Stdenv;
|
|
};
|
|
cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; };
|
|
date = inputs.pkgs.callPackage ./date.nix { src = inputs.topInputs.date; };
|
|
blurred-wallpaper = inputs.pkgs.callPackage ./blurred-wallpaper.nix { src = inputs.topInputs.blurred-wallpaper; };
|
|
slate = inputs.pkgs.callPackage ./slate.nix { src = inputs.topInputs.slate; };
|
|
lmod = inputs.pkgs.callPackage ./lmod.nix { src = inputs.topInputs.lmod; };
|
|
vasp = rec
|
|
{
|
|
src = inputs.pkgs.callPackage ./vasp/source.nix {};
|
|
gnu = inputs.pkgs.callPackage ./vasp/gnu
|
|
{
|
|
inherit (inputs.pkgs.llvmPackages) openmp;
|
|
inherit src;
|
|
hdf5 = inputs.pkgs.hdf5.override { mpiSupport = true; fortranSupport = true; cppSupport = false; };
|
|
};
|
|
nvidia = inputs.pkgs.callPackage ./vasp/nvidia
|
|
{
|
|
inherit (nvhpcPackages) stdenv hdf5 mpi;
|
|
inherit src;
|
|
vtst = inputs.topInputs.self.src.vtst.patch;
|
|
wannier90 = inputs.pkgs.wannier90.overrideAttrs { buildFlags = [ "dynlib" ]; };
|
|
};
|
|
intel = inputs.pkgs.callPackage ./vasp/intel
|
|
{
|
|
inherit src;
|
|
vtst = inputs.topInputs.self.src.vtst.patch;
|
|
inherit (inputs.pkgs.intelPackages_2023) stdenv;
|
|
mpi = inputs.pkgs.openmpi.override
|
|
{
|
|
inherit (inputs.pkgs.intelPackages_2023) stdenv;
|
|
enableSubstitute = false;
|
|
};
|
|
hdf5 = inputs.pkgs.hdf5.override
|
|
{
|
|
inherit (inputs.pkgs.intelPackages_2023) stdenv;
|
|
cppSupport = false;
|
|
fortranSupport = true;
|
|
enableShared = false;
|
|
enableStatic = true;
|
|
};
|
|
wannier90 = inputs.pkgs.wannier90.overrideAttrs { buildFlags = [ "dynlib" ]; };
|
|
};
|
|
vtst = inputs.pkgs.callPackage ./vasp/vtst.nix { src = inputs.topInputs.self.src.vtst.script; };
|
|
};
|
|
mumax = inputs.pkgs.callPackage ./mumax.nix { src = inputs.topInputs.mumax; };
|
|
biu = inputs.pkgs.callPackage ./biu
|
|
{
|
|
inherit nameof zpp-bits tgbot-cpp concurrencpp pocketfft;
|
|
stdenv = inputs.pkgs.clang18Stdenv;
|
|
boost = inputs.pkgs.boost186;
|
|
fmt = inputs.pkgs.fmt_11.overrideAttrs (prev: { patches = prev.patches or [] ++ [ ./biu/fmt.patch ]; });
|
|
};
|
|
hpcstat = inputs.pkgs.callPackage ./hpcstat
|
|
{ inherit sqlite-orm date biu openxlsx; stdenv = inputs.pkgs.gcc14Stdenv; };
|
|
openxlsx = inputs.pkgs.callPackage ./openxlsx.nix { src = inputs.topInputs.openxlsx; };
|
|
sqlite-orm = inputs.pkgs.callPackage ./sqlite-orm.nix { src = inputs.topInputs.sqlite-orm; };
|
|
mkPnpmPackage = inputs.pkgs.callPackage ./mkPnpmPackage.nix {};
|
|
sbatch-tui = inputs.pkgs.callPackage ./sbatch-tui { inherit biu; stdenv = inputs.pkgs.clang18Stdenv; };
|
|
ufo = inputs.pkgs.callPackage inputs.topInputs.ufo
|
|
{
|
|
inherit biu matplotplusplus;
|
|
tbb = inputs.pkgs.tbb_2021_11;
|
|
stdenv = inputs.pkgs.clang18Stdenv;
|
|
};
|
|
chn-bsub = inputs.pkgs.callPackage ./chn-bsub { inherit biu; };
|
|
winjob = inputs.pkgs.callPackage ./winjob { stdenv = inputs.pkgs.gcc14Stdenv; };
|
|
sockpp = inputs.pkgs.callPackage ./sockpp.nix { src = inputs.topInputs.sockpp; };
|
|
git-lfs-transfer = inputs.pkgs.callPackage ./git-lfs-transfer.nix
|
|
{ src = inputs.topInputs.git-lfs-transfer; hash = inputs.topInputs.self.src.git-lfs-transfer; };
|
|
py4vasp = inputs.pkgs.python3Packages.callPackage ./py4vasp.nix { src = inputs.topInputs.py4vasp; inherit nglview; };
|
|
pocketfft = inputs.pkgs.callPackage ./pocketfft.nix { src = inputs.topInputs.pocketfft; };
|
|
spectroscopy = inputs.pkgs.callPackage ./spectroscopy.nix { src = inputs.topInputs.spectroscopy; };
|
|
mirism = inputs.pkgs.callPackage ./mirism { inherit biu; stdenv = inputs.pkgs.clang18Stdenv; };
|
|
vaspberry = inputs.pkgs.callPackage ./vaspberry.nix { src = inputs.topInputs.vaspberry; };
|
|
nvhpcPackages = inputs.pkgs.lib.makeScope inputs.pkgs.newScope (final:
|
|
{
|
|
stdenv = inputs.pkgs.callPackage ./nvhpc/stdenv.nix { src = inputs.topInputs.self.src.nvhpc; };
|
|
fmt = (inputs.pkgs.fmt.override { inherit (final) stdenv; }).overrideAttrs { doCheck = false; };
|
|
hdf5 = inputs.pkgs.hdf5.override
|
|
{ inherit (final) stdenv; cppSupport = false; fortranSupport = true; enableShared = false; enableStatic = true; };
|
|
mpi = inputs.pkgs.callPackage ./nvhpc/mpi.nix { inherit (final) stdenv; };
|
|
});
|
|
gccFull = inputs.pkgs.symlinkJoin
|
|
{
|
|
name = "gcc";
|
|
paths = with inputs.pkgs;
|
|
[
|
|
# wrapped binaries
|
|
gcc gfortran glibc glibc.dev binutils iconv
|
|
# not wrapped binaries
|
|
gcc.cc gcc.cc.lib gfortran.cc gfortran.cc.lib binutils.bintools
|
|
];
|
|
};
|
|
highfive = inputs.pkgs.callPackage ./highfive.nix { src = inputs.topInputs.highfive; };
|
|
stickerpicker = inputs.pkgs.python3Packages.callPackage ./stickerpicker.nix { src = inputs.topInputs.stickerpicker; };
|
|
nglview = inputs.pkgs.python3Packages.callPackage ./nglview.nix { src = inputs.topInputs.self.src.nglview; };
|
|
octodns-cloudflare = inputs.pkgs.python3Packages.callPackage ./octodns-cloudflare.nix
|
|
{ src = inputs.topInputs.octodns-cloudflare; };
|
|
info = inputs.pkgs.callPackage ./info { inherit biu; stdenv = inputs.pkgs.clang18Stdenv; };
|
|
|
|
fromYaml = content: builtins.fromJSON (builtins.readFile
|
|
(inputs.pkgs.runCommand "toJSON" {}
|
|
"${inputs.pkgs.remarshal}/bin/yaml2json ${builtins.toFile "content.yaml" content} $out"));
|
|
}
|