nixpkgs/pkgs/applications/misc/vanitygen/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

40 lines
1.1 KiB
Nix

{ fetchgit, stdenv, openssl, pcre }:
stdenv.mkDerivation rec {
version = "0.21";
name = "vanitygen-${version}";
src = fetchgit {
url = "https://github.com/samr7/vanitygen";
rev = "refs/tags/${version}";
sha256 = "1vzfv74hhiyrrpvjca8paydx1ashgbgn5plzrx4swyzxy1xkamah";
};
buildInputs = [ openssl pcre ];
installPhase = ''
mkdir -p $out/bin
cp vanitygen $out/bin
cp keyconv $out/bin/vanitygen-keyconv
'';
meta = {
description = "Bitcoin vanity address generator";
longDescription= ''
Vanitygen can search for exact prefixes or regular expression
matches, so you can generate Bitcoin addresses that starts
with the needed mnemonic.
Vanitygen can generate regular bitcoin addresses, namecoin
addresses, and testnet addresses.
When searching for exact prefixes, vanitygen will ensure that
the prefix is possible, will provide a difficulty estimate,
and will run about 30% faster.
'';
homepage = https://github.com/samr7/vanitygen;
license = stdenv.lib.licenses.agpl3;
platforms = stdenv.lib.platforms.all;
};
}