nixpkgs/pkgs/development/python-modules/gym/default.nix
2019-04-18 12:42:40 +02:00

28 lines
672 B
Nix

{ lib
, buildPythonPackage, fetchPypi
, numpy, requests, six, pyglet, scipy
}:
buildPythonPackage rec {
pname = "gym";
version = "0.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "f8bee3672759aeec4271169dcbb2afc069b898c7f92882d965c59be8085f2b35";
};
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 ];
};
}