mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
736ee61442
- fixed mistype - Cosmetic change; camelCase - removed gui option, causes build issue - cmake flag issue fixed
44 lines
1.4 KiB
Nix
44 lines
1.4 KiB
Nix
{ 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 {
|
|
name = "dashpay-${version}";
|
|
version = "0.12.1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dashpay";
|
|
repo= "dash";
|
|
rev = "v${version}";
|
|
sha256 = "0h0fxhh30wy5vp06l1mkswhz565qs6j9y0dm84fmn28rdfvhv2aj";
|
|
};
|
|
|
|
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 = http://dashpay.io;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|