nixpkgs/pkgs/applications/altcoins/namecoin.nix

21 lines
420 B
Nix
Raw Normal View History

2016-04-17 00:23:39 +01:00
{ stdenv, db4, boost, openssl, qt4, qmake4Hook, miniupnpc, unzip, namecoind }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "namecoin-${version}";
version = namecoind.version;
src = namecoind.src;
2016-04-17 00:23:39 +01:00
buildInputs = [ db4 boost openssl unzip qt4 qmake4Hook miniupnpc ];
2016-04-17 00:23:39 +01:00
qmakeFlags = [ "USE_UPNP=-" ];
installPhase = ''
mkdir -p $out/bin
cp namecoin-qt $out/bin
'';
meta = namecoind.meta;
}