altcoins.sumokoin: init at 0.2.0.0

+37
+2
pkgs/applications/altcoins/default.nix
··· 59 59 60 60 stellar-core = callPackage ./stellar-core.nix { }; 61 61 62 + sumokoin = callPackage ./sumokoin.nix { }; 63 + 62 64 zcash = callPackage ./zcash { 63 65 withGui = false; 64 66 openssl = openssl_1_1_0;
+35
pkgs/applications/altcoins/sumokoin.nix
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, unbound, openssl, boost 2 + , libunwind, lmdb, miniupnpc }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "sumokoin-${version}"; 6 + version = "0.2.0.0"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "sumoprojects"; 10 + repo = "sumokoin"; 11 + rev = "v${version}"; 12 + sha256 = "0ndgcawhxh3qb3llrrilrwzhs36qpxv7f53rxgcansbff9b3za6n"; 13 + }; 14 + 15 + nativeBuildInputs = [ cmake ]; 16 + buildInputs = [ unbound openssl boost libunwind lmdb miniupnpc ]; 17 + 18 + postPatch = '' 19 + substituteInPlace src/blockchain_db/lmdb/db_lmdb.cpp --replace mdb_size_t size_t 20 + ''; 21 + 22 + cmakeFlags = [ 23 + "-DLMDB_INCLUDE=${lmdb}/include" 24 + ]; 25 + 26 + enableParallelBuilding = true; 27 + 28 + meta = with lib; { 29 + description = "Sumokoin is a fork of Monero and a truely fungible cryptocurrency"; 30 + homepage = "https://www.sumokoin.org/"; 31 + license = licenses.bsd3; 32 + maintainers = with maintainers; [ fpletz ]; 33 + platforms = platforms.linux; 34 + }; 35 + }