Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 672 B view raw
1{ lib 2, buildPythonPackage, fetchPypi 3, numpy, requests, six, pyglet, scipy 4}: 5 6buildPythonPackage rec { 7 pname = "gym"; 8 version = "0.12.5"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "027422f59b662748eae3420b804e35bbf953f62d40cd96d2de9f842c08de822e"; 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}