2021-02-05 17:12:51 +00:00
|
|
|
{ fetchFromGitHub, lib, stdenv, pkg-config, autoreconfHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, openssl, db48, boost, zlib, miniupnpc
|
|
|
|
, qrencode, glib, protobuf, yasm, libevent
|
2020-11-24 20:58:05 +00:00
|
|
|
, util-linux
|
2020-04-24 23:36:52 +00:00
|
|
|
, enable_Upnp ? false
|
|
|
|
, disable_Wallet ? false
|
|
|
|
, disable_Daemon ? false }:
|
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dashpay";
|
|
|
|
version = "0.12.2.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dashpay";
|
|
|
|
repo= "dash";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0l1gcj2xf2bal9ph9y11x8yd28fd25f55f48xbm45bfw3ij7nbaa";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib openssl db48 yasm boost zlib libevent
|
2020-11-24 20:58:05 +00:00
|
|
|
miniupnpc protobuf qrencode util-linux ];
|
2020-04-24 23:36:52 +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"
|
|
|
|
;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
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 = "https://www.dash.org";
|
2020-09-25 04:45:31 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
2020-06-18 07:06:33 +00:00
|
|
|
license = licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|