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