nixpkgs/pkgs/applications/misc/namecoin/qt.nix

34 lines
857 B
Nix
Raw Normal View History

2014-06-30 02:08:34 +02:00
{ fetchgit, stdenv, db4, boost, openssl, qt4, unzip, namecoin }:
stdenv.mkDerivation rec {
2014-10-01 06:49:49 +02:00
version = namecoin.version;
2014-06-30 02:08:34 +02:00
name = "namecoin-qt-${version}";
src = namecoin.src;
# Don't build with miniupnpc due to namecoin using a different verison that
# ships with NixOS and it is API incompatible.
2014-09-19 19:56:08 +02:00
buildInputs = [ db4 boost boost.lib openssl unzip qt4 ];
2014-06-30 02:08:34 +02:00
configurePhase = ''
qmake USE_UPNP=-
'';
buildPhase = ''
make
'';
installPhase = ''
mkdir -p $out/bin
cp namecoin-qt $out/bin
'';
meta = {
description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
homepage = "http://namecoin.info";
2014-09-02 00:04:59 +02:00
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.doublec ];
2014-06-30 02:08:34 +02:00
platforms = with stdenv.lib.platforms; linux;
};
}