nixpkgs/pkgs/applications/altcoins/namecoin.nix
AndersonTorres ac4f15b282 Altcoins - a new category of applications
Here, I present a new level of hierarchy on Nixpkgs: the Altcoins.

The idea is to put a single cryptocurrency per file, and build them
using expressions like altcoins.bitcoin. I believe this ordering is
clearer and more maintainable that the current one.
2015-01-02 10:00:32 -02:00

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;
}