Guest User

Untitled

a guest
Jan 9th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. {stdenv, fetchFromGitHub, autoconf, automake, libtool, pam, gnupg }:
  2.  
  3. with stdenv.lib;
  4.  
  5. stdenv.mkDerivation rec {
  6. pname = "pam-gnupg";
  7. version = "1.0";
  8.  
  9. src = fetchFromGitHub {
  10. owner = "cruegge";
  11. repo = "pam-gnupg";
  12. rev = "fbd75b720877e4cf94e852ce7e2b811feb330bb5";
  13. sha256 = "0kqn6xb85jfmhvvbd2lasnci46p2pcwy0wq233za9h7xwfr49f7d";
  14. };
  15.  
  16. preConfigure = ''
  17. configureFlagsArray+=("--with-moduledir=/lib/security")
  18. '';
  19.  
  20. configurePhase = ''
  21. ./autogen.sh
  22. ./configure
  23. '';
  24.  
  25. nativeBuildInputs = [ autoconf automake libtool pam gnupg ];
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment