dashpay: 0.12.055 -> 0.12.1.3 (#23761)

- fixed mistype
- Cosmetic change; camelCase
- removed gui option, causes build issue
- cmake flag issue fixed
This commit is contained in:
ndowens 2017-03-19 12:41:36 -05:00 committed by Vladimír Čunát
parent 575cf2e17f
commit 736ee61442

View File

@ -1,25 +1,35 @@
{ fetchzip, stdenv, pkgconfig, autoreconfHook
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc
, qt4, qrencode, glib, protobuf, yasm
, utillinux }:
, qrencode, glib, protobuf, yasm, libevent
, utillinux
, enable_Upnp ? false
, disable_Wallet ? false
, disable_Daemon ? false }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dashpay-${version}";
version = "0.12.1.3";
name = "dashpay-${meta.version}";
src = fetchzip {
url = "https://github.com/dashpay/dash/archive/v${meta.version}.tar.gz";
sha256 = "19bk7cviy3n2dpj4kr3i6i0i3ac2l5ri8ln1a51nd3n90k016wnx";
src = fetchFromGitHub {
owner = "dashpay";
repo= "dash";
rev = "v${version}";
sha256 = "0h0fxhh30wy5vp06l1mkswhz565qs6j9y0dm84fmn28rdfvhv2aj";
};
buildInputs = [ pkgconfig autoreconfHook glib openssl db48 yasm
boost zlib miniupnpc protobuf qt4 qrencode utillinux ];
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ glib openssl db48 yasm boost zlib libevent
miniupnpc protobuf qrencode utillinux ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
meta = with stdenv.lib; {
version = "0.12.0.55";
configureFlags = [ "--with-boost-libdir=${boost.out}/lib --with-gui=no" ]
++ optional enable_Upnp "--enable-upnp-default"
++ optional disable_Wallet "--disable-wallet"
++ optional disable_Daemon "--disable-daemon"
;
meta = {
description = "A decentralized key/value registration and transfer system";
longDescription = ''
Dash (DASH) is an open sourced, privacy-centric digital currency