nixpkgs/pkgs/development/python-modules/gym/default.nix

31 lines
734 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage, fetchPypi
2019-10-27 01:14:36 +01:00
, numpy, requests, six, pyglet, scipy, cloudpickle
}:
buildPythonPackage rec {
pname = "gym";
2021-03-24 09:28:14 +00:00
version = "0.18.0";
src = fetchPypi {
inherit pname version;
2021-03-24 09:28:14 +00:00
sha256 = "a0dcd25c1373f3938f4cb4565f74f434fba6faefb73a42d09c9dddd0c08af53e";
};
propagatedBuildInputs = [
2019-10-27 01:14:36 +01:00
numpy requests six pyglet scipy cloudpickle
];
# The test needs MuJoCo that is not free library.
doCheck = false;
pythonImportsCheck = [ "gym" ];
meta = with lib; {
2018-12-15 01:02:15 +00:00
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
2020-03-03 03:24:58 +00:00
homepage = "https://gym.openai.com/";
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};
}