summary refs log tree commit diff
path: root/pkgs/applications/blockchains/dashpay/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-28 18:01:16 +0000
committerGitHub <noreply@github.com>2021-07-28 18:01:16 +0000
commit6fcda9f1ec27db14412a2103281b4b14f806066a (patch)
tree10d6f3aa9b4fc34ca27e907a5a7d199e6fca15b2 /pkgs/applications/blockchains/dashpay/default.nix
parenta1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243 (diff)
parent4ecfa58c97863796f407b823049bcf1bd1866aac (diff)
downloadnixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.gz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.bz2
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.lz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.xz
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.zst
nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/blockchains/dashpay/default.nix')
-rw-r--r--pkgs/applications/blockchains/dashpay/default.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/dashpay/default.nix b/pkgs/applications/blockchains/dashpay/default.nix
new file mode 100644
index 00000000000..ca1dd13e425
--- /dev/null
+++ b/pkgs/applications/blockchains/dashpay/default.nix
@@ -0,0 +1,44 @@
+{ fetchFromGitHub, lib, stdenv, pkg-config, autoreconfHook
+, openssl, db48, boost, zlib, miniupnpc
+, qrencode, glib, protobuf, yasm, libevent
+, util-linux
+, enable_Upnp ? false
+, disable_Wallet ? false
+, disable_Daemon ? false }:
+
+with lib;
+stdenv.mkDerivation rec {
+  pname = "dashpay";
+  version = "0.12.2.3";
+
+  src = fetchFromGitHub {
+    owner = "dashpay";
+    repo= "dash";
+    rev = "v${version}";
+    sha256 = "0l1gcj2xf2bal9ph9y11x8yd28fd25f55f48xbm45bfw3ij7nbaa";
+  };
+
+  nativeBuildInputs = [ pkg-config autoreconfHook ];
+  buildInputs = [ glib openssl db48 yasm boost zlib libevent
+                  miniupnpc protobuf qrencode util-linux ];
+
+
+  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; [ ];
+    platforms = platforms.unix;
+    license = licenses.mit;
+  };
+}