2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, unbound, openssl, boost
|
2022-10-21 18:38:19 +00:00
|
|
|
, lmdb, miniupnpc, readline, git, zeromq, libsodium, rapidjson, cppzmq }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "masari";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "unstable-2022-10-09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "masari-project";
|
|
|
|
repo = "masari";
|
2022-10-21 18:38:19 +00:00
|
|
|
rev = "ff71f52220858b84a4403dab9a14339bcad57826";
|
|
|
|
sha256 = "sha256-GunNFqZNgpLfyAA9BiBC98axgTQuK76z3BUl5T0iJqs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
postPatch = ''
|
|
|
|
# remove vendored libraries
|
|
|
|
rm -r external/{miniupnpc,rapidjson}
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config git ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost miniupnpc openssl unbound
|
|
|
|
zeromq readline libsodium
|
|
|
|
rapidjson cppzmq
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "scalability-focused, untraceable, secure, and fungible cryptocurrency using the RingCT protocol";
|
|
|
|
homepage = "https://www.getmasari.org/";
|
|
|
|
license = licenses.bsd3;
|
2022-10-21 18:38:19 +00:00
|
|
|
maintainers = with maintainers; [ matthewcroughan ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|