2018-05-05 00:45:24 +02:00
|
|
|
{ stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, boost
|
|
|
|
, db48
|
|
|
|
, fetchurl
|
|
|
|
, libevent
|
|
|
|
, miniupnpc
|
|
|
|
, openssl
|
|
|
|
, pkgconfig
|
|
|
|
, zeromq
|
|
|
|
, zlib
|
2018-05-06 16:15:04 +02:00
|
|
|
, unixtools
|
2018-05-05 00:45:24 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "particl-core-${version}";
|
2018-07-06 21:25:46 +02:00
|
|
|
version = "0.16.1.0";
|
2018-05-05 00:45:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
|
2018-07-06 21:25:46 +02:00
|
|
|
sha256 = "0rfqywyrl6cgxn3ba91zsa88ph2yf9d1vn706xpyz19pfb6mjfbg";
|
2018-05-05 00:45:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
2018-05-06 16:15:04 +02:00
|
|
|
buildInputs = [
|
|
|
|
openssl db48 boost zlib miniupnpc libevent zeromq
|
|
|
|
unixtools.hexdump
|
|
|
|
];
|
2018-05-05 00:45:24 +02:00
|
|
|
|
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Privacy-Focused Marketplace & Decentralized Application Platform";
|
|
|
|
longDescription= ''
|
|
|
|
An open source, decentralized privacy platform built for global person to person eCommerce.
|
|
|
|
'';
|
|
|
|
homepage = https://particl.io/;
|
|
|
|
maintainers = with maintainers; [ demyanrogozhin ];
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|