diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/gym')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/gym/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/gym/default.nix b/nixpkgs/pkgs/development/python-modules/gym/default.nix new file mode 100644 index 000000000000..b207e7ca239e --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/gym/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage, fetchPypi +, numpy, requests, six, pyglet, scipy +}: + +buildPythonPackage rec { + pname = "gym"; + version = "0.12.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0ggac8a8qk06wplwg5xsisn9id3lis9qslri7m9rz22khlyl7z4j"; + }; + + 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 ]; + }; +} |