diff options
Diffstat (limited to 'pkgs/development/python-modules/gym/default.nix')
-rw-r--r-- | pkgs/development/python-modules/gym/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/gym/default.nix b/pkgs/development/python-modules/gym/default.nix index 1616343f8b43..44fbdc040123 100644 --- a/pkgs/development/python-modules/gym/default.nix +++ b/pkgs/development/python-modules/gym/default.nix @@ -3,23 +3,27 @@ , fetchFromGitHub , numpy , cloudpickle +, gym-notices +, importlib-metadata +, pythonOlder }: buildPythonPackage rec { pname = "gym"; - version = "0.21.0"; + version = "0.26.2"; src = fetchFromGitHub { owner = "openai"; repo = pname; - rev = "v${version}"; - sha256 = "12b545xz0r2g4z5r7f8amxl7nm0lqymkzwcwhg1bni9h0sxwpv6c"; + rev = "${version}"; + sha256 = "sha256-uJgm8l1SxIRC5PV6BIH/ht/1ucGT5UaUhkFMdusejgA="; }; propagatedBuildInputs = [ cloudpickle numpy - ]; + gym-notices + ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ]; # The test needs MuJoCo that is not free library. doCheck = false; |