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.
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{ lib, stdenv
|
|
, autoreconfHook
|
|
, boost
|
|
, db48
|
|
, fetchurl
|
|
, libevent
|
|
, miniupnpc
|
|
, openssl
|
|
, pkg-config
|
|
, zeromq
|
|
, zlib
|
|
, unixtools
|
|
, python3
|
|
}:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "particl-core";
|
|
version = "0.19.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
|
|
sha256 = "11y5q2srkh6r2samppjb5mg6hl79y16j2lj1r23p0968vb9c45kl";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ openssl db48 boost zlib miniupnpc libevent zeromq unixtools.hexdump python3 ];
|
|
|
|
configureFlags = [
|
|
"--disable-bench"
|
|
"--with-boost-libdir=${boost.out}/lib"
|
|
] ++ optionals (!doCheck) [
|
|
"--enable-tests=no"
|
|
];
|
|
|
|
# Always check during Hydra builds
|
|
doCheck = true;
|
|
preCheck = "patchShebangs test";
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Privacy-Focused Marketplace & Decentralized Application Platform";
|
|
longDescription= ''
|
|
An open source, decentralized privacy platform built for global person to person eCommerce.
|
|
RPC daemon and CLI client only.
|
|
'';
|
|
homepage = "https://particl.io/";
|
|
maintainers = with maintainers; [ demyanrogozhin ];
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|