temporarily use stable pdm
This commit is contained in:
parent
8fceabd506
commit
3194212a50
2 changed files with 22 additions and 3 deletions
|
|
@ -2,12 +2,14 @@
|
|||
description = "DLSite download organizer";
|
||||
|
||||
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 {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
pkgs-stable = import nixpkgs-stable { system = "x86_64-linux"; };
|
||||
project = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||
in {
|
||||
packages.x86_64-linux = with pkgs.python3Packages; rec {
|
||||
|
|
@ -19,7 +21,7 @@
|
|||
sha256 = "sha256-K7xbHtz2SF8Rs+2Rm0Llw5jWnqlTLP5vSuAM3mXEAeY=";
|
||||
};
|
||||
pyproject = true;
|
||||
nativeBuildInputs = [ pkgs.pdm ];
|
||||
nativeBuildInputs = [ (assert pkgs.pdm.version == "2.26.6"; pkgs-stable.pdm) ];
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
aiohttp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue