@@ -0,0 +1,47 @@
1+{ stdenv
2+, autoreconfHook
3+, boost
4+, db48
5+, fetchurl
6+, libevent
7+, libtool
8+, miniupnpc
9+, openssl
10+, pkgconfig
11+, utillinux
12+, zeromq
13+, zlib
14+, withGui
15+, unixtools
16+}:
17+
18+with stdenv.lib;
19+
20+stdenv.mkDerivation rec {
21+ name = "particl-core-${version}";
22+ version = "0.16.0.4";
23+
24+ src = fetchurl {
25+ url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
26+ sha256 = "1yy8pw13rn821jpi1zvzwi3ipxi1bgfxv8g6jz49qlbjzjmjcr68";
27+ };
28+
29+ nativeBuildInputs = [ pkgconfig autoreconfHook ];
30+ buildInputs = [
31+ openssl db48 boost zlib miniupnpc libevent zeromq
32+ unixtools.hexdump
33+ ];
34+
35+ configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
36+
37+ meta = {
38+ description = "Privacy-Focused Marketplace & Decentralized Application Platform";
39+ longDescription= ''
40+ An open source, decentralized privacy platform built for global person to person eCommerce.
41+ '';
42+ homepage = https://particl.io/;
43+ maintainers = with maintainers; [ demyanrogozhin ];
44+ license = licenses.mit;
45+ platforms = platforms.unix;
46+ };
47+}