2018-11-11 04:09:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage, fetchPypi
|
|
|
|
, numpy, requests, six, pyglet, scipy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gym";
|
2019-04-16 18:15:36 +01:00
|
|
|
version = "0.12.1";
|
2018-11-11 04:09:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:36 +01:00
|
|
|
sha256 = "f8bee3672759aeec4271169dcbb2afc069b898c7f92882d965c59be8085f2b35";
|
2018-11-11 04:09:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy requests six pyglet scipy
|
|
|
|
];
|
|
|
|
|
|
|
|
# The test needs MuJoCo that is not free library.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-12-15 01:02:15 +00:00
|
|
|
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
|
2018-11-11 04:09:19 +00:00
|
|
|
homepage = https://gym.openai.com/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hyphon81 ];
|
|
|
|
};
|
|
|
|
}
|