2018-02-06 03:25:37 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, unbound, openssl, boost
|
|
|
|
, libunwind, lmdb, miniupnpc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sumokoin";
|
2018-02-06 03:25:37 +00:00
|
|
|
version = "0.2.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sumoprojects";
|
|
|
|
repo = "sumokoin";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0ndgcawhxh3qb3llrrilrwzhs36qpxv7f53rxgcansbff9b3za6n";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ unbound openssl boost libunwind lmdb miniupnpc ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/blockchain_db/lmdb/db_lmdb.cpp --replace mdb_size_t size_t
|
|
|
|
'';
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DLMDB_INCLUDE=${lmdb}/include"
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "A fork of Monero and a truely fungible cryptocurrency";
|
2018-02-06 03:25:37 +00:00
|
|
|
homepage = "https://www.sumokoin.org/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|