nixos/local/pkgs/default.nix

80 lines
4.9 KiB
Nix
Raw Normal View History

2024-03-16 12:16:23 +08:00
inputs: rec
2023-06-25 11:38:01 +08:00
{
2024-07-11 19:31:59 +08:00
vesta = inputs.pkgs.callPackage ./vesta.nix {};
2024-07-03 13:48:17 +08:00
rsshub = inputs.pkgs.callPackage ./rsshub.nix { inherit mkPnpmPackage; src = inputs.topInputs.rsshub; };
misskey = inputs.pkgs.callPackage ./misskey.nix { inherit mkPnpmPackage; src = inputs.topInputs.misskey; };
2024-07-11 19:31:59 +08:00
mk-meili-mgn = inputs.pkgs.callPackage ./mk-meili-mgn.nix {};
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; };
eigengdb = inputs.pkgs.python3Packages.callPackage ./eigengdb.nix {};
nodesoup = inputs.pkgs.callPackage ./nodesoup.nix { src = inputs.topInputs.nodesoup; };
matplotplusplus = inputs.pkgs.callPackage ./matplotplusplus.nix
2024-03-16 12:16:23 +08:00
{ inherit nodesoup glad; src = inputs.topInputs.matplotplusplus; };
2024-07-11 19:31:59 +08:00
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 {};
glad = inputs.pkgs.callPackage ./glad.nix {};
yoga-support = inputs.pkgs.callPackage ./yoga-support.nix {};
tgbot-cpp = inputs.pkgs.callPackage ./tgbot-cpp.nix { src = inputs.topInputs.tgbot-cpp; };
mirism = inputs.pkgs.callPackage ./mirism.nix
2023-11-12 21:59:03 +08:00
{
inherit cppcoro nameof tgbot-cpp date;
2024-03-16 12:16:23 +08:00
nghttp2 = inputs.pkgs.callPackage "${inputs.topInputs."nixpkgs-23.05"}/pkgs/development/libraries/nghttp2"
2024-06-06 22:31:49 +08:00
{ enableAsioLib = true; stdenv = inputs.pkgs.gcc12Stdenv; };
stdenv = inputs.pkgs.gcc12Stdenv;
2023-11-12 21:59:03 +08:00
};
2024-03-16 12:16:23 +08:00
cppcoro = inputs.pkgs.callPackage ./cppcoro { src = inputs.topInputs.cppcoro; };
2024-07-11 19:31:59 +08:00
date = inputs.pkgs.callPackage ./date.nix { src = inputs.topInputs.date; };
esbonio = inputs.pkgs.python3Packages.callPackage ./esbonio.nix {};
2024-03-16 12:16:23 +08:00
pix2tex = inputs.pkgs.python3Packages.callPackage ./pix2tex {};
2024-07-11 19:31:59 +08:00
pyreadline3 = inputs.pkgs.python3Packages.callPackage ./pyreadline3.nix {};
torchdata = inputs.pkgs.python3Packages.callPackage ./torchdata.nix {};
torchtext = inputs.pkgs.python3Packages.callPackage ./torchtext.nix { inherit torchdata; };
2024-06-08 10:11:50 +08:00
blurred-wallpaper = inputs.pkgs.callPackage ./blurred-wallpaper.nix { src = inputs.topInputs.blurred-wallpaper; };
2024-07-11 19:31:59 +08:00
slate = inputs.pkgs.callPackage ./slate.nix { src = inputs.topInputs.slate; };
nvhpc = inputs.pkgs.callPackage ./nvhpc.nix {};
lmod = inputs.pkgs.callPackage ./lmod.nix { src = inputs.topInputs.lmod; };
2024-03-16 12:16:23 +08:00
vasp = rec
{
2024-05-13 18:44:51 +08:00
src = inputs.pkgs.callPackage ./vasp/source.nix {};
2024-03-16 12:16:23 +08:00
gnu = inputs.pkgs.callPackage ./vasp/gnu
2024-02-25 15:34:35 +08:00
{
2024-03-16 12:16:23 +08:00
inherit (inputs.pkgs.llvmPackages) openmp;
2024-06-23 11:32:57 +08:00
inherit src;
2024-05-22 10:44:41 +08:00
hdf5 = inputs.pkgs.hdf5.override { mpiSupport = true; fortranSupport = true; cppSupport = false; };
2024-03-18 19:52:25 +08:00
};
nvidia = inputs.pkgs.callPackage ./vasp/nvidia
2024-06-23 11:32:57 +08:00
{ inherit lmod nvhpc vtst src; hdf5 = hdf5-nvhpc; };
intel = inputs.pkgs.callPackage ./vasp/intel
2024-06-23 11:32:57 +08:00
{ inherit lmod oneapi vtst src; hdf5 = hdf5-oneapi; };
2024-03-16 12:16:23 +08:00
hdf5-nvhpc = inputs.pkgs.callPackage ./vasp/hdf5-nvhpc { inherit lmod nvhpc; inherit (inputs.pkgs.hdf5) src; };
hdf5-oneapi = inputs.pkgs.callPackage ./vasp/hdf5-oneapi { inherit lmod oneapi; inherit (inputs.pkgs.hdf5) src; };
2024-04-14 11:47:05 +08:00
vtst = (inputs.pkgs.callPackage ./vasp/vtst.nix {});
vtstscripts = inputs.pkgs.callPackage ./vasp/vtstscripts.nix {};
2024-03-15 19:25:27 +08:00
};
2024-04-13 20:07:40 +08:00
# TODO: use other people packaged hpc version
2024-07-11 19:31:59 +08:00
oneapi = inputs.pkgs.callPackage ./oneapi.nix {};
mumax = inputs.pkgs.callPackage ./mumax.nix { src = inputs.topInputs.mumax; };
kylin-virtual-keyboard = inputs.pkgs.libsForQt5.callPackage ./kylin-virtual-keyboard.nix
{ src = inputs.topInputs.kylin-virtual-keyboard; };
biu = inputs.pkgs.callPackage ./biu { inherit nameof zpp-bits; };
2024-07-11 19:31:59 +08:00
zxorm = inputs.pkgs.callPackage ./zxorm.nix { src = inputs.topInputs.zxorm; };
hpcstat = inputs.pkgs.callPackage ./hpcstat
{ inherit sqlite-orm date biu openxlsx; stdenv = inputs.pkgs.gcc14Stdenv; };
2024-07-11 19:31:59 +08:00
openxlsx = inputs.pkgs.callPackage ./openxlsx.nix { src = inputs.topInputs.openxlsx; };
sqlite-orm = inputs.pkgs.callPackage ./sqlite-orm.nix { src = inputs.topInputs.sqlite-orm; };
2024-05-18 15:21:20 +08:00
mkPnpmPackage = inputs.pkgs.callPackage ./mkPnpmPackage.nix {};
sbatch-tui = inputs.pkgs.callPackage ./sbatch-tui { inherit biu; };
2024-06-10 20:59:01 +08:00
ufo = inputs.pkgs.callPackage ./ufo
{ inherit concurrencpp biu glad matplotplusplus zpp-bits; tbb = inputs.pkgs.tbb_2021_11; };
2024-06-16 16:10:52 +08:00
chn-bsub = inputs.pkgs.callPackage ./chn-bsub { inherit biu; };
2024-07-04 17:28:39 +08:00
winjob = inputs.pkgs.callPackage ./winjob { stdenv = inputs.pkgs.gcc14Stdenv; };
sockpp = inputs.pkgs.callPackage ./sockpp.nix { src = inputs.topInputs.sockpp; };
2024-03-20 20:34:02 +08:00
fromYaml = content: builtins.fromJSON (builtins.readFile
(inputs.pkgs.runCommand "toJSON" {}
"${inputs.pkgs.remarshal}/bin/yaml2json ${builtins.toFile "content.yaml" content} $out"));
2023-06-25 11:38:01 +08:00
}