python3Packages.gym: Remove stale substituteInPlace

This commit is contained in:
Sandro Jäckel 2021-01-21 15:49:00 +01:00
parent 5be9ec41a3
commit cacda1bce6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -12,13 +12,6 @@ buildPythonPackage rec {
sha256 = "96a7dd4e9cdb39e30c7a79e5773570fd9408f7fdb58c714c293cfbb314818eb6";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pyglet>=1.2.0,<=1.3.2" "pyglet" \
--replace "cloudpickle>=1.2.0,<1.4.0" "cloudpickle~=1.2"
'';
# cloudpickle range has been expanded in package but not yet released
propagatedBuildInputs = [
numpy requests six pyglet scipy cloudpickle
];