45 lines
1014 B
Nix
45 lines
1014 B
Nix
{ stdenv
|
|
, autoreconfHook
|
|
, boost
|
|
, db48
|
|
, fetchurl
|
|
, libevent
|
|
, miniupnpc
|
|
, openssl
|
|
, pkgconfig
|
|
, zeromq
|
|
, zlib
|
|
, unixtools
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "particl-core-${version}";
|
|
version = "0.16.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
|
|
sha256 = "1d2vvg7avlhsg0rcpd5pbzafnk1w51a2y29xjjkpafi6iqs2l617";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
buildInputs = [
|
|
openssl db48 boost zlib miniupnpc libevent zeromq
|
|
unixtools.hexdump
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|