{ stdenv , autoconf , automake , autoreconfHook , boost , db48 , fetchurl , libevent , libtool , miniupnpc , openssl , pkgconfig , utillinux , zeromq , zlib , withGui }: with stdenv.lib; stdenv.mkDerivation rec { name = "particl-core-${version}"; version = "0.16.0.4"; src = fetchurl { url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz"; sha256 = "1yy8pw13rn821jpi1zvzwi3ipxi1bgfxv8g6jz49qlbjzjmjcr68"; }; nativeBuildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ openssl db48 boost zlib miniupnpc libevent zeromq ] ++ optionals stdenv.isLinux [ utillinux ]; 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; }; }