21 version = "0.1.6"; # remember to manually adjust the rev
22 format = "setuptools";
24 src = fetchFromGitHub {
27 # Unfortunately releases are not tagged. This commit bumps the version in setup.py
28 rev = "2bca7901f51c88cdef3ca0666c6a87c454a4dbe8";
29 sha256 = "0j2ck7rsrcyny9qbmrw9aqvzfhv70nbign8iva2dsisa2x24gbcl";
32 propagatedBuildInputs = [
47 # Needed for the atari wrapper, but the gym-atari package is not supported
48 # in nixos anyways. Since opencv-python is not currently packaged, we
50 sed -ie '/opencv-python/d' setup.py
53 # fails to create a daemon, probably because of sandboxing
56 nativeCheckInputs = [ pytest ];
59 description = "High-quality implementations of reinforcement learning algorithms";
60 homepage = "https://github.com/openai/baselines";
61 license = licenses.mit;
62 maintainers = with maintainers; [ timokau ];