Merge pull request #46053 from danieldk/mxnet-fixes
pythonPackages.mxnet: fix build
This commit is contained in:
@@ -1788,6 +1788,13 @@ in {
|
||||
|
||||
doCheck = !isPy3k;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace python/setup.py \
|
||||
--replace "graphviz<0.9.0" "graphviz<0.10.0" \
|
||||
--replace "numpy<=1.15.0" "numpy<1.16.0" \
|
||||
--replace "requests<2.19.0" "requests<2.20.0"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
cd python
|
||||
'';
|
||||
@@ -7937,11 +7944,11 @@ in {
|
||||
|
||||
graphviz = buildPythonPackage rec {
|
||||
name = "graphviz-${version}";
|
||||
version = "0.5.2";
|
||||
version = "0.9";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/g/graphviz/${name}.zip";
|
||||
sha256 = "0jh31nlm0qbxwylhdkwnb69pcjlc5z03fcfbs0gvgzp3hfrngsk0";
|
||||
sha256 = "14r9brj4r31b3qy1nnn34v3l4h0n39bqxg9sn2fz4p3pp5mglnl6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.graphviz ];
|
||||
|
||||
Reference in New Issue
Block a user