diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-31 09:50:38 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-31 09:50:38 +0200 |
commit | fc74ba8291a8a93cba428de6bc2e7c8c7f9330f4 (patch) | |
tree | 982675c7719f2060a550e80747dfa49c1a9d6b06 /pkgs/applications/blockchains/particl | |
parent | 98640fd48212f8e6552517f667bba1901f5936d4 (diff) | |
parent | 81760f32353fa7f309a49fda17d90f43ac1e9a42 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/blockchains/particl')
-rw-r--r-- | pkgs/applications/blockchains/particl/particl-core.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/particl/particl-core.nix b/pkgs/applications/blockchains/particl/particl-core.nix new file mode 100644 index 000000000000..613d57cd9c8c --- /dev/null +++ b/pkgs/applications/blockchains/particl/particl-core.nix @@ -0,0 +1,53 @@ +{ stdenv +, autoreconfHook +, boost +, db48 +, fetchurl +, libevent +, miniupnpc +, openssl +, pkgconfig +, zeromq +, zlib +, unixtools +, python3 +}: + +with stdenv.lib; + +stdenv.mkDerivation rec { + pname = "particl-core"; + version = "0.17.1.2"; + + src = fetchurl { + url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz"; + sha256 = "16hcyxwp6yrypwvxz6i2987z3jmpk47xcgnsgh9klih8baqg64p5"; + }; + + nativeBuildInputs = [ pkgconfig 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; + }; +} |