python3Packages.gym: fix build
This commit is contained in:
parent
a1010b6fca
commit
4fbf45665f
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage, fetchPypi
|
, buildPythonPackage, fetchPypi
|
||||||
, numpy, requests, six, pyglet, scipy
|
, numpy, requests, six, pyglet, scipy, cloudpickle
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -12,8 +12,13 @@ buildPythonPackage rec {
|
|||||||
sha256 = "18381e13bbd1e2f206a1b88a2af4fb87affd7d06ee7955a6e5e6a79478a9adfc";
|
sha256 = "18381e13bbd1e2f206a1b88a2af4fb87affd7d06ee7955a6e5e6a79478a9adfc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "pyglet>=1.2.0,<=1.3.2" "pyglet"
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy requests six pyglet scipy
|
numpy requests six pyglet scipy cloudpickle
|
||||||
];
|
];
|
||||||
|
|
||||||
# The test needs MuJoCo that is not free library.
|
# The test needs MuJoCo that is not free library.
|
||||||
|
Loading…
Reference in New Issue
Block a user