mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
21 lines
420 B
Nix
21 lines
420 B
Nix
{ stdenv, db4, boost, openssl, qt4, qmake4Hook, miniupnpc, unzip, namecoind }:
|
|
|
|
with stdenv.lib;
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "namecoin-${version}";
|
|
version = namecoind.version;
|
|
src = namecoind.src;
|
|
|
|
buildInputs = [ db4 boost openssl unzip qt4 qmake4Hook miniupnpc ];
|
|
|
|
qmakeFlags = [ "USE_UPNP=-" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp namecoin-qt $out/bin
|
|
'';
|
|
|
|
meta = namecoind.meta;
|
|
}
|