python3.pkgs.dparse: add missing dependency
This fixes builds on aarch64.
This commit is contained in:
parent
e18a2ee062
commit
b5a2cf2123
@ -1,4 +1,12 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27, pytest, toml, pyyaml }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy27
|
||||||
|
, toml
|
||||||
|
, pyyaml
|
||||||
|
, packaging
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dparse";
|
pname = "dparse";
|
||||||
@ -10,13 +18,24 @@ buildPythonPackage rec {
|
|||||||
sha256 = "a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367";
|
sha256 = "a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ toml pyyaml ];
|
propagatedBuildInputs = [
|
||||||
|
toml
|
||||||
|
pyyaml
|
||||||
|
packaging
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# requires unpackaged dependency pipenv
|
||||||
|
"test_update_pipfile"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A parser for Python dependency files";
|
description = "A parser for Python dependency files";
|
||||||
homepage = "https://github.com/pyupio/safety";
|
homepage = "https://github.com/pyupio/dparse";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ thomasdesr ];
|
maintainers = with maintainers; [ thomasdesr ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user