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