mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
python3Packages.gym: 0.18.0 -> 0.18.1
This commit is contained in:
parent
0fe6b1ccde
commit
76326594f1
@ -1,19 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage, fetchPypi
|
||||
, numpy, requests, six, pyglet, scipy, cloudpickle
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, requests
|
||||
, pyglet
|
||||
, scipy
|
||||
, pillow
|
||||
, cloudpickle
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gym";
|
||||
version = "0.18.0";
|
||||
version = "0.18.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a0dcd25c1373f3938f4cb4565f74f434fba6faefb73a42d09c9dddd0c08af53e";
|
||||
src = fetchFromGitHub {
|
||||
owner = "openai";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0mv4af2y9d1y97bsda94f21nis2jm1zkzv7c806vmvzh5s4r8nfn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy requests six pyglet scipy cloudpickle
|
||||
cloudpickle
|
||||
numpy
|
||||
pillow
|
||||
pyglet
|
||||
requests
|
||||
scipy
|
||||
];
|
||||
|
||||
# The test needs MuJoCo that is not free library.
|
||||
@ -22,7 +35,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "gym" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
|
||||
description = "A toolkit for developing and comparing your reinforcement learning agents";
|
||||
homepage = "https://gym.openai.com/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hyphon81 ];
|
||||
|
Loading…
Reference in New Issue
Block a user