diff options
author | K900 <me@0upti.me> | 2023-09-22 00:50:52 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-09-22 00:50:52 +0300 |
commit | 0bdb1c1d30c8eb63610a483f63704ed53c9ad7d0 (patch) | |
tree | e15712b409db9cb460df4bbf06282069d066bb3a /pkgs | |
parent | 42efd8d7124b00e50aa7aafa6925118ce3afc74e (diff) |
python310Packages.amaranth: fix dependencies
pdm-backend should be pulled from the matching Python package set (i.e. callPackage args), and should be in nativeBuildInputs, as it's a build time dependency. pdm itself is not required.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/amaranth/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/amaranth/default.nix b/pkgs/development/python-modules/amaranth/default.nix index a92e33ebe524b..ad2cacb2ced8d 100644 --- a/pkgs/development/python-modules/amaranth/default.nix +++ b/pkgs/development/python-modules/amaranth/default.nix @@ -2,9 +2,7 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub -, fetchpatch -, pdm -, python3 +, pdm-backend , pyvcd , jinja2 , importlib-resources @@ -34,13 +32,12 @@ buildPythonPackage rec { nativeBuildInputs = [ git + pdm-backend ]; propagatedBuildInputs = [ jinja2 - pdm pyvcd - python3.pkgs.pdm-backend ] ++ lib.optional (pythonOlder "3.9") importlib-resources ++ lib.optional (pythonOlder "3.8") importlib-metadata; |