networkx: fixing undeclared dependency

the current version of networkx implicitly depends on
pkg_resources from setuptools to check the version of
pydot (https://github.com/networkx/networkx/issues/3173).
This commit is contained in:
Dima 2019-09-14 03:20:17 +02:00
parent 700cc56a0e
commit 5b3fb23360

View File

@ -3,6 +3,7 @@
, fetchPypi , fetchPypi
, nose , nose
, decorator , decorator
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -17,7 +18,7 @@ buildPythonPackage rec {
}; };
checkInputs = [ nose ]; checkInputs = [ nose ];
propagatedBuildInputs = [ decorator ]; propagatedBuildInputs = [ decorator setuptools ];
meta = { meta = {
homepage = "https://networkx.github.io/"; homepage = "https://networkx.github.io/";