Merge pull request #50221 from hyphon81/add/gym-add

pythonPackages.gym: init at 0.9.6
This commit is contained in:
Dmitry Kalinkin 2018-12-14 20:03:16 -05:00 committed by GitHub
commit 246efb21e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy
}:
buildPythonPackage rec {
pname = "gym";
version = "0.9.6";
src = fetchPypi {
inherit pname version;
sha256 = "0llbhn3zdlsz2crd5grd1yygg8zp2shsclc24iqix5gw5f65clx5";
};
propagatedBuildInputs = [
numpy requests six pyglet scipy
];
# The test needs MuJoCo that is not free library.
doCheck = false;
meta = with lib; {
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
homepage = https://gym.openai.com/;
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};
}

View file

@ -2607,6 +2607,8 @@ in {
gspread = callPackage ../development/python-modules/gspread { };
gym = callPackage ../development/python-modules/gym { };
gyp = callPackage ../development/python-modules/gyp { };
guessit = callPackage ../development/python-modules/guessit { };