Advertisement
Guest User

Untitled

a guest
Jun 1st, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. {...}:
  2. with import <nixpkgs> {};
  3. rec {
  4. nes-py = pkgs.callPackages ./nes-py.nix {
  5. buildPythonPackage = python37Packages.buildPythonPackage
  6. ; fetchPypi = python37Packages.fetchPypi
  7. ; gym = python37Packages.gym
  8. ; pyglet = python37Packages.pyglet
  9. ; numpy = python37Packages.numpy
  10. ; tqdm = python37Packages.tqdm
  11. ; fetchurl = fetchurl
  12. ;};
  13.  
  14. gymmario = pkgs.callPackages ./gymmario.nix {
  15. buildPythonPackage = python37Packages.buildPythonPackage
  16. ; matplotlib = python37Packages.matplotlib
  17. ; nes-py = nes-py
  18. ; pyglet = python37Packages.pyglet
  19. ; numpy = python37Packages.numpy
  20. ; opencv4 = opencv-python
  21. ; tqdm = python37Packages.tqdm
  22. ; pygame = python37Packages.pygame
  23. ; fetchPypi = python37Packages.fetchPypi
  24. ; fetchurl = fetchurl
  25. ;};
  26.  
  27. opencv-python = pkgs.callPackages ./opencv4.nix {
  28. buildPythonPackage = python37Packages.buildPythonPackage
  29. ; fetchPypi = python37Packages.fetchPypi
  30. ; numpy = python37Packages.numpy
  31. ; fetchurl = fetchurl
  32. ;};
  33.  
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement