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
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, pdm-backend
|
||||||
, pdm
|
|
||||||
, python3
|
|
||||||
, pyvcd
|
, pyvcd
|
||||||
, jinja2
|
, jinja2
|
||||||
, importlib-resources
|
, importlib-resources
|
||||||
|
@ -34,13 +32,12 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
git
|
git
|
||||||
|
pdm-backend
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jinja2
|
jinja2
|
||||||
pdm
|
|
||||||
pyvcd
|
pyvcd
|
||||||
python3.pkgs.pdm-backend
|
|
||||||
] ++
|
] ++
|
||||||
lib.optional (pythonOlder "3.9") importlib-resources ++
|
lib.optional (pythonOlder "3.9") importlib-resources ++
|
||||||
lib.optional (pythonOlder "3.8") importlib-metadata;
|
lib.optional (pythonOlder "3.8") importlib-metadata;
|
||||||
|
|
Loading…
Reference in a new issue