nixpkgs/pkgs/development/python-modules/gym/default.nix
2019-06-15 08:44:05 +02:00

29 lines
672 B
Nix

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