Advertisement
Guest User

Untitled

a guest
Jun 6th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. {stdenv, fetchgit, pkgs, pkg-config}:
  2. with (import <nixpkgs> {});
  3.  
  4. stdenv.mkDerivation {
  5. name = "minipro";
  6.  
  7. src = fetchgit {
  8. url = "https://gitlab.com/DavidGriffith/minipro.git";
  9. sha256 = "1jz85vzg5bb20hfyy5gbhj4v5n5iwc5rpcmpmx342q2g12zjqdsf";
  10. };
  11.  
  12. PKG_CONFIG = "${pkg-config}/bin/pkg-config";
  13.  
  14. nativeBuildInputs = with pkgs; [
  15. pkg-config
  16. installShellFiles
  17. ];
  18.  
  19. buildInputs = with pkgs; [
  20. stdenv
  21. bash
  22. libusb1
  23. ];
  24.  
  25. buildPhase = ''
  26. make -e
  27. '';
  28.  
  29. meta = {
  30. description = "";
  31. homepage = "https://gitlab.com/DavidGriffith/minipro";
  32. maintainers = [ import ./kalium.nix ];
  33. license = stdenv.lib.licenses.gpl3;
  34. };
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement