diff --git a/pkgs/applications/altcoins/darkcoin.nix b/pkgs/applications/altcoins/darkcoin.nix deleted file mode 100644 index 89ff12f8f742..000000000000 --- a/pkgs/applications/altcoins/darkcoin.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ fetchzip, stdenv, pkgconfig -, openssl, db48, boost, zlib, miniupnpc, qt4, qrencode, glib, protobuf -, utillinux -, withGui }: - -with stdenv.lib; -stdenv.mkDerivation rec { - - name = "darkcoin" + (toString (optional (!withGui) "d")) + "-" + version; - version = "0.10.99.99"; - - src = fetchzip { - url = "https://github.com/darkcoin/darkcoin/archive/v${version}.tar.gz"; - sha256 = "0sigvimqwc1mvaq43a8c2aq7fjla2ncafrals08qfq3jd6in8b4f"; - }; - - buildInputs = [ pkgconfig glib openssl db48 boost zlib miniupnpc ] - ++ optionals withGui [ qt4 qrencode ]; - - configurePhase = optional withGui "qmake"; - - preBuild = optional (!withGui) "cd src; cp makefile.unix Makefile"; - - installPhase = - if withGui - then "install -D darkcoin-qt $out/bin/darkcoin-qt" - else "install -D darkcoind $out/bin/darkcoind"; - - meta = with stdenv.lib; { - description = "A decentralized key/value registration and transfer system"; - longDescription = '' - Darkcoin (DRK) is an open sourced, privacy-centric digital - currency. It allows you keep your finances private as you make - transactions, similar to cash. - ''; - homepage = http://darkcoin.io; - maintainers = with maintainers; [ AndersonTorres ]; - platforms = with platforms; unix; - }; -} diff --git a/pkgs/applications/altcoins/dash.nix b/pkgs/applications/altcoins/dash.nix new file mode 100644 index 000000000000..444e72c0abfe --- /dev/null +++ b/pkgs/applications/altcoins/dash.nix @@ -0,0 +1,33 @@ +{ fetchzip, stdenv, pkgconfig, autoreconfHook +, openssl, db48, boost, zlib, miniupnpc +, qt4, qrencode, glib, protobuf, yasm +, utillinux }: + +with stdenv.lib; +stdenv.mkDerivation rec { + + name = "dash-${meta.version}"; + + src = fetchzip { + url = "https://github.com/dashpay/dash/archive/v${meta.version}.tar.gz"; + sha256 = "19bk7cviy3n2dpj4kr3i6i0i3ac2l5ri8ln1a51nd3n90k016wnx"; + }; + + buildInputs = [ pkgconfig autoreconfHook glib openssl db48 yasm + boost zlib miniupnpc protobuf qt4 qrencode utillinux ]; + + configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ]; + + meta = with stdenv.lib; { + version = "0.12.0.55"; + description = "A decentralized key/value registration and transfer system"; + longDescription = '' + Dash (DASH) is an open sourced, privacy-centric digital currency + with instant transactions. It allows you to keep your finances + private as you make transactions without waits, similar to cash. + ''; + homepage = http://dashpay.io; + maintainers = with maintainers; [ AndersonTorres ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix index 762ef804f83e..83c42d90b6c9 100644 --- a/pkgs/applications/altcoins/default.nix +++ b/pkgs/applications/altcoins/default.nix @@ -8,8 +8,7 @@ rec { bitcoin-xt = callPackage ./bitcoin-xt.nix { withGui = true; }; bitcoind-xt = callPackage ./bitcoin-xt.nix { withGui = false; }; - darkcoin = callPackage ./darkcoin.nix { withGui = true; }; - darkcoind = callPackage ./darkcoin.nix { withGui = false; }; + dash = callPackage ./dash.nix { }; dogecoin = callPackage ./dogecoin.nix { withGui = true; }; dogecoind = callPackage ./dogecoin.nix { withGui = false; };