Compare commits

...

1 Commits

Author SHA1 Message Date
chn
3a58f5e7fc 暂存 2024-11-28 22:15:03 +08:00
4 changed files with 29 additions and 1 deletions

17
flake.lock generated
View File

@@ -1154,6 +1154,22 @@
"type": "github"
}
},
"pentapy": {
"flake": false,
"locked": {
"lastModified": 1712784869,
"narHash": "sha256-HRXl8GfNH7CatEDtbkLA985IaDYvb4sH0h/cejlnLQ4=",
"owner": "GeoStat-Framework",
"repo": "pentapy",
"rev": "e78f674dc0d3e1af652616b5d922c88166f76e11",
"type": "github"
},
"original": {
"owner": "GeoStat-Framework",
"repo": "pentapy",
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
@@ -1317,6 +1333,7 @@
"nur-linyinfeng": "nur-linyinfeng",
"nur-xddxdd": "nur-xddxdd",
"openxlsx": "openxlsx",
"pentapy": "pentapy",
"plasma-manager": "plasma-manager",
"pocketfft": "pocketfft",
"poetry2nix": "poetry2nix",

View File

@@ -68,6 +68,7 @@
ufo = { url = "git+https://git.chn.moe/chn/ufo.git"; flake = false; };
highfive = { url = "git+https://github.com/CHN-beta/HighFive?submodules=1"; flake = false; };
stickerpicker = { url = "github:maunium/stickerpicker"; flake = false; };
pentapy = { url = "github:GeoStat-Framework/pentapy"; flake = false; };
};
outputs = inputs: let localLib = import ./flake/lib.nix inputs.nixpkgs.lib; in
@@ -75,7 +76,11 @@
packages.x86_64-linux = import ./flake/packages.nix { inherit inputs localLib; };
nixosConfigurations = import ./flake/nixos.nix { inherit inputs localLib; };
overlays.default = final: prev:
{ localPackages = (import ./packages { inherit localLib; pkgs = final; topInputs = inputs; }); };
{
localPackages = (import ./packages { inherit localLib; pkgs = final; topInputs = inputs; });
pythonPackagesExtensions = prev.pythonPackagesExtensions ++
(final: prev: import ./packages/python { inherit localLib; pkgs = final; topInputs = inputs; });
};
config = { archive = false; branch = "production"; };
devShells.x86_64-linux = import ./flake/dev.nix { inherit inputs; };
src = import ./flake/src.nix { inherit inputs; };

View File

View File

@@ -0,0 +1,6 @@
{ src, buildPythonPackage, setuptools, wheel }: buildPythonPackage
{
name = "penapy";
inherit src;
pyproject = true;
}