mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
29 lines
672 B
Nix
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 ];
|
|
};
|
|
}
|