temporarily use stable pdm
This commit is contained in:
parent
8fceabd506
commit
3194212a50
2 changed files with 22 additions and 3 deletions
19
flake.lock
generated
19
flake.lock
generated
|
|
@ -16,9 +16,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779102034,
|
||||||
|
"narHash": "sha256-vZJZjLo513IeI8hjzHFc6TDezUd4uCE2Eq4SNO3DNNg=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "687f05a9184cad4eaf905c48b63649e3a86f5433",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2,12 +2,14 @@
|
||||||
description = "DLSite download organizer";
|
description = "DLSite download organizer";
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
inputs.nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
|
||||||
outputs = { self, nixpkgs }: let
|
outputs = { self, nixpkgs, nixpkgs-stable }: let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
pkgs-stable = import nixpkgs-stable { system = "x86_64-linux"; };
|
||||||
project = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
project = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||||
in {
|
in {
|
||||||
packages.x86_64-linux = with pkgs.python3Packages; rec {
|
packages.x86_64-linux = with pkgs.python3Packages; rec {
|
||||||
|
|
@ -19,7 +21,7 @@
|
||||||
sha256 = "sha256-K7xbHtz2SF8Rs+2Rm0Llw5jWnqlTLP5vSuAM3mXEAeY=";
|
sha256 = "sha256-K7xbHtz2SF8Rs+2Rm0Llw5jWnqlTLP5vSuAM3mXEAeY=";
|
||||||
};
|
};
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
nativeBuildInputs = [ pkgs.pdm ];
|
nativeBuildInputs = [ (assert pkgs.pdm.version == "2.26.6"; pkgs-stable.pdm) ];
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lxml
|
lxml
|
||||||
aiohttp
|
aiohttp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue