vanitygen-plusplus.nix 488 B

1234567891011121314151617
  1. { pkgs }:
  2. pkgs.stdenv.mkDerivation {
  3. pname = "vanitygen-plusplus";
  4. version = "e7858035";
  5. src = fetchGit {
  6. url = "https://github.com/10gic/vanitygen-plusplus";
  7. # url = /path/to/repo/vanitygen-plusplus-e78580;
  8. rev = "e7858035d092f9b9d6468e2b812475faaf7c69c6";
  9. shallow = true;
  10. };
  11. buildInputs = [ pkgs.openssl pkgs.pcre ];
  12. installPhase = ''
  13. mkdir -p $out/bin
  14. install -sv --mode=755 vanitygen keyconv $out/bin
  15. '';
  16. }