mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
27 lines
447 B
Nix
27 lines
447 B
Nix
|
{ stdenv, db4, boost, openssl, qt4, miniupnpc, unzip, namecoind }:
|
||
|
|
||
|
with stdenv.lib;
|
||
|
stdenv.mkDerivation rec {
|
||
|
|
||
|
name = "namecoin-${version}";
|
||
|
version = namecoind.version;
|
||
|
src = namecoind.src;
|
||
|
|
||
|
buildInputs = [ db4 boost openssl unzip qt4 miniupnpc ];
|
||
|
|
||
|
configurePhase = ''
|
||
|
qmake USE_UPNP=-
|
||
|
'';
|
||
|
|
||
|
buildPhase = ''
|
||
|
make
|
||
|
'';
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
cp namecoin-qt $out/bin
|
||
|
'';
|
||
|
|
||
|
meta = namecoind.meta;
|
||
|
}
|