1{ lib
2, buildPythonPackage, fetchPypi
3, numpy, requests, six, pyglet, scipy
4}:
5
6buildPythonPackage rec {
7 pname = "gym";
8 version = "0.11.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "f9c79fc295b8b20cfda5ab0a671e72c95615dc77517ae414f8f8b10e9375f155";
13 };
14
15 propagatedBuildInputs = [
16 numpy requests six pyglet scipy
17 ];
18
19 # The test needs MuJoCo that is not free library.
20 doCheck = false;
21
22 meta = with lib; {
23 description = "A toolkit by OpenAI for developing and comparing your reinforcement learning agents";
24 homepage = https://gym.openai.com/;
25 license = licenses.mit;
26 maintainers = with maintainers; [ hyphon81 ];
27 };
28}