Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
844 B · 39 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, numpy, cloudpickle, gym-notices, importlib-metadata, pythonOlder}:
buildPythonPackage rec { pname = "gym"; version = "0.26.2";
src = fetchFromGitHub { owner = "openai"; repo = pname; rev = "refs/tags/${version}"; hash = "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;
pythonImportsCheck = [ "gym" ];
meta = with lib; { description = "A toolkit for developing and comparing your reinforcement learning agents"; homepage = "https://gym.openai.com/"; license = licenses.mit; maintainers = with maintainers; [ hyphon81 ]; };}