mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
c092a502df
Only packages I'm not able to maintain anymore as of today. Mostly because I'm haven't been using them in a while.
34 lines
866 B
Nix
34 lines
866 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, unbound, openssl, boost
|
|
, libunwind, lmdb, miniupnpc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sumokoin";
|
|
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"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A fork of Monero and a truely fungible cryptocurrency";
|
|
homepage = "https://www.sumokoin.org/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|