mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
localPackages.openxlsx: init
This commit is contained in:
17
flake.lock
generated
17
flake.lock
generated
@@ -1957,6 +1957,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"openxlsx": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1656848604,
|
||||
"narHash": "sha256-Bdik5tY6DsNKMMXvfVOHngLHud3OJ8q9OTwv4eaDMvY=",
|
||||
"owner": "troldal",
|
||||
"repo": "OpenXLSX",
|
||||
"rev": "b80da42d1454f361c29117095ebe1989437db390",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "troldal",
|
||||
"repo": "OpenXLSX",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"org": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -2233,6 +2249,7 @@
|
||||
"nur": "nur",
|
||||
"nur-linyinfeng": "nur-linyinfeng",
|
||||
"nur-xddxdd": "nur-xddxdd",
|
||||
"openxlsx": "openxlsx",
|
||||
"plasma-manager": "plasma-manager",
|
||||
"pnpm2nix-nzbr": "pnpm2nix-nzbr",
|
||||
"qchem": "qchem",
|
||||
|
||||
@@ -81,6 +81,7 @@
|
||||
zxorm = { url = "github:crabmandable/zxorm"; flake = false; };
|
||||
hpcstat = { url = "github:CHN-beta/hpcstat"; flake = false; };
|
||||
xmuhpc-dotfiles = { url = "git+https://git.chn.moe/chn/xmuhpc-dotfiles.git"; flake = false; };
|
||||
openxlsx = { url = "github:troldal/OpenXLSX"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
|
||||
@@ -86,6 +86,7 @@ inputs: rec
|
||||
biu = inputs.pkgs.callPackage ./biu { inherit nameof; };
|
||||
zxorm = inputs.pkgs.callPackage ./zxorm { src = inputs.topInputs.zxorm; };
|
||||
hpcstat = inputs.pkgs.callPackage "${inputs.topInputs.hpcstat}" { inherit nameof zxorm zpp-bits; };
|
||||
openxlsx = inputs.pkgs.callPackage ./openxlsx { src = inputs.topInputs.openxlsx; };
|
||||
|
||||
fromYaml = content: builtins.fromJSON (builtins.readFile
|
||||
(inputs.pkgs.runCommand "toJSON" {}
|
||||
|
||||
11
local/pkgs/openxlsx/default.nix
Normal file
11
local/pkgs/openxlsx/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ stdenv, src, cmake, pkg-config }: stdenv.mkDerivation
|
||||
{
|
||||
name = "openxlsx";
|
||||
inherit src;
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
cmakeFlags =
|
||||
[
|
||||
"-DOPENXLSX_CREATE_DOCS=OFF" "-DOPENXLSX_BUILD_SAMPLES=OFF" "-DOPENXLSX_BUILD_TESTS=OFF"
|
||||
"-DOPENXLSX_BUILD_BENCHMARKS=OFF"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user