mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #50221 from hyphon81/add/gym-add
pythonPackages.gym: init at 0.9.6
This commit is contained in:
commit
246efb21e5
2 changed files with 30 additions and 0 deletions
28
pkgs/development/python-modules/gym/default.nix
Normal file
28
pkgs/development/python-modules/gym/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, buildPythonPackage, fetchPypi
|
||||
, numpy, requests, six, pyglet, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gym";
|
||||
version = "0.9.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0llbhn3zdlsz2crd5grd1yygg8zp2shsclc24iqix5gw5f65clx5";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2607,6 +2607,8 @@ in {
|
|||
|
||||
gspread = callPackage ../development/python-modules/gspread { };
|
||||
|
||||
gym = callPackage ../development/python-modules/gym { };
|
||||
|
||||
gyp = callPackage ../development/python-modules/gyp { };
|
||||
|
||||
guessit = callPackage ../development/python-modules/guessit { };
|
||||
|
|
Loading…
Reference in a new issue