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.
This commit is contained in:
parent
42efd8d712
commit
0bdb1c1d30
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue