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

31 lines
734 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage, fetchPypi
2019-10-26 17:14:36 -07:00
, numpy, requests, six, pyglet, scipy, cloudpickle
}:
buildPythonPackage rec {
pname = "gym";
2020-10-25 02:06:52 -07:00
version = "0.17.3";
src = fetchPypi {
inherit pname version;
2020-10-25 02:06:52 -07:00
sha256 = "96a7dd4e9cdb39e30c7a79e5773570fd9408f7fdb58c714c293cfbb314818eb6";
};
propagatedBuildInputs = [
2019-10-26 17:14:36 -07: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-14 17:02:15 -08:00
description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
2020-03-02 19:24:58 -08:00
homepage = "https://gym.openai.com/";
license = licenses.mit;
maintainers = with maintainers; [ hyphon81 ];
};
}