summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/blockchains/dashpay.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-31 09:50:38 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-31 09:50:38 +0200
commitfc74ba8291a8a93cba428de6bc2e7c8c7f9330f4 (patch)
tree982675c7719f2060a550e80747dfa49c1a9d6b06 /pkgs/applications/blockchains/dashpay.nix
parent98640fd48212f8e6552517f667bba1901f5936d4 (diff)
parent81760f32353fa7f309a49fda17d90f43ac1e9a42 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/blockchains/dashpay.nix')
-rw-r--r--pkgs/applications/blockchains/dashpay.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/dashpay.nix b/pkgs/applications/blockchains/dashpay.nix
new file mode 100644
index 000000000000..03dcd6cb54e6
--- /dev/null
+++ b/pkgs/applications/blockchains/dashpay.nix
@@ -0,0 +1,43 @@
+{ fetchFromGitHub, stdenv, pkgconfig, autoreconfHook
+, openssl, db48, boost, zlib, miniupnpc
+, qrencode, glib, protobuf, yasm, libevent
+, utillinux
+, enable_Upnp ? false
+, disable_Wallet ? false
+, disable_Daemon ? false }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+ pname = "dashpay";
+ version = "0.12.2.3";
+
+ src = fetchFromGitHub {
+ owner = "dashpay";
+ repo= "dash";
+ rev = "v${version}";
+ sha256 = "0l1gcj2xf2bal9ph9y11x8yd28fd25f55f48xbm45bfw3ij7nbaa";
+ };
+
+ nativeBuildInputs = [ pkgconfig autoreconfHook ];
+ buildInputs = [ glib openssl db48 yasm boost zlib libevent
+ miniupnpc protobuf qrencode utillinux ];
+
+
+ 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;
+ maintainers = with maintainers; [ AndersonTorres ];
+ platforms = platforms.unix;
+ };
+}