forked from mirrors/nixpkgs
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
45 lines
1.4 KiB
Nix
45 lines
1.4 KiB
Nix
{ 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;
|
|
};
|
|
}
|