Advertisement
Guest User

Untitled

a guest
Jun 1st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. { lib
  2. , buildPythonPackage, fetchPypi
  3. , matplotlib, nes-py, numpy, opencv4, pygame, pyglet, tqdm
  4. , fetchurl, ...
  5. }:
  6.  
  7. buildPythonPackage rec {
  8. pname = "gym-super-mario-bros";
  9. version = "7.2.1";
  10.  
  11. src = fetchurl {
  12. url = "https://files.pythonhosted.org/packages/7d/6b/89b587519dad88c94b1d4a16e5ed425468b635dc075303d0866fb5ff0162/gym_super_mario_bros-7.2.1.tar.gz";
  13. sha256 = "0bcbjd19s4cjc8i34i1liz7na6hjxx3w3r9rk7cxq7lvvqg338xv";
  14. };
  15.  
  16. #src = fetchPypi {
  17. # inherit pname version;
  18. # sha256 = "f8bee3672759aeec4271169dcbb2afc069b898c7f92882d965c59be8085f2b35";
  19. #};
  20.  
  21. buildInputs = [
  22. opencv4
  23. ];
  24.  
  25. propagatedBuildInputs = [
  26. matplotlib nes-py numpy pygame pyglet tqdm
  27. ];
  28.  
  29. doCheck = false;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement