mmgen-wallet/nix/vanitygen-plusplus.nix

17 lines
488 B
Nix
Raw Normal View History

{ pkgs }:
pkgs.stdenv.mkDerivation {
pname = "vanitygen-plusplus";
version = "e7858035";
src = fetchGit {
url = "https://github.com/10gic/vanitygen-plusplus";
2025-09-11 17:37:10 +00:00
# url = /path/to/repo/vanitygen-plusplus-e78580;
rev = "e7858035d092f9b9d6468e2b812475faaf7c69c6";
2025-09-11 17:37:10 +00:00
shallow = true;
};
buildInputs = [ pkgs.openssl pkgs.pcre ];
installPhase = ''
mkdir -p $out/bin
install -sv --mode=755 vanitygen keyconv $out/bin
'';
}