2017-03-19 17:41:36 +00:00
|
|
|
{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook
|
2015-11-01 09:32:12 +00:00
|
|
|
, openssl, db48, boost, zlib, miniupnpc
|
2017-03-19 17:41:36 +00:00
|
|
|
, qrencode, glib, protobuf, yasm, libevent
|
|
|
|
, utillinux
|
2018-03-03 16:09:20 +00:00
|
|
|
, enable_Upnp ? false
|
2017-03-19 17:41:36 +00:00
|
|
|
, disable_Wallet ? false
|
|
|
|
, disable_Daemon ? false }:
|
2015-11-01 09:32:12 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "dashpay";
|
2018-03-03 16:09:20 +00:00
|
|
|
version = "0.12.2.3";
|
2015-11-01 09:32:12 +00:00
|
|
|
|
2017-03-19 17:41:36 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dashpay";
|
|
|
|
repo= "dash";
|
|
|
|
rev = "v${version}";
|
2018-03-03 16:09:20 +00:00
|
|
|
sha256 = "0l1gcj2xf2bal9ph9y11x8yd28fd25f55f48xbm45bfw3ij7nbaa";
|
2015-11-01 09:32:12 +00:00
|
|
|
};
|
|
|
|
|
2017-03-19 17:41:36 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
2018-03-03 16:09:20 +00:00
|
|
|
buildInputs = [ glib openssl db48 yasm boost zlib libevent
|
2017-03-19 17:41:36 +00:00
|
|
|
miniupnpc protobuf qrencode utillinux ];
|
2018-03-03 16:09:20 +00:00
|
|
|
|
2015-11-01 09:32:12 +00:00
|
|
|
|
2017-03-19 17:41:36 +00:00
|
|
|
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"
|
|
|
|
;
|
2015-11-01 09:32:12 +00:00
|
|
|
|
2017-03-19 17:41:36 +00:00
|
|
|
meta = {
|
2015-11-01 09:32:12 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.dash.org";
|
2020-09-22 07:24:36 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.unix;
|
2020-06-11 11:06:16 +01:00
|
|
|
license = licenses.mit;
|
2015-11-01 09:32:12 +00:00
|
|
|
};
|
|
|
|
}
|