particl-core: Eabled tests and parallel build.
Build now dependent on Python3 and current version of Boost
This commit is contained in:
parent
4ca86a844b
commit
233dad81eb
@ -90,5 +90,5 @@ rec {
|
|||||||
parity-beta = callPackage ./parity/beta.nix { };
|
parity-beta = callPackage ./parity/beta.nix { };
|
||||||
parity-ui = callPackage ./parity-ui { };
|
parity-ui = callPackage ./parity-ui { };
|
||||||
|
|
||||||
particl-core = callPackage ./particl/particl-core.nix { boost = boost165; miniupnpc = miniupnpc_2; };
|
particl-core = callPackage ./particl/particl-core.nix { miniupnpc = miniupnpc_2; };
|
||||||
}
|
}
|
||||||
|
@ -10,13 +10,14 @@
|
|||||||
, zeromq
|
, zeromq
|
||||||
, zlib
|
, zlib
|
||||||
, unixtools
|
, unixtools
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "particl-core-${version}";
|
name = "particl-core-${version}";
|
||||||
version = "0.17.0.2";
|
version = "0.17.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
|
url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
|
||||||
@ -24,17 +25,20 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
buildInputs = [
|
buildInputs = [ openssl db48 boost zlib miniupnpc libevent zeromq unixtools.hexdump python3 ];
|
||||||
openssl db48 boost zlib miniupnpc libevent zeromq
|
|
||||||
unixtools.hexdump
|
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-bench"
|
"--disable-bench"
|
||||||
"--enable-tests=no"
|
|
||||||
"--with-boost-libdir=${boost.out}/lib"
|
"--with-boost-libdir=${boost.out}/lib"
|
||||||
|
] ++ optionals (!doCheck) [
|
||||||
|
"--enable-tests=no"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Always check during Hydra builds
|
||||||
|
doCheck = true;
|
||||||
|
preCheck = "patchShebangs test";
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Privacy-Focused Marketplace & Decentralized Application Platform";
|
description = "Privacy-Focused Marketplace & Decentralized Application Platform";
|
||||||
longDescription= ''
|
longDescription= ''
|
||||||
|
Loading…
Reference in New Issue
Block a user