diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-07-27 15:31:23 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-07-28 13:29:10 +0200 |
commit | 06a2b9fa9522fb9b52f5dc569a44a3c99f6a6838 (patch) | |
tree | 2c225fd97e63b775b742b9f5b48b0591199156ad /pkgs/applications/blockchains/sumokoin | |
parent | abce989b6c9a5ce4fa2951e821978b84efd7d018 (diff) |
pkgs/applications/blockchains: move packages into subdirs
Diffstat (limited to 'pkgs/applications/blockchains/sumokoin')
-rw-r--r-- | pkgs/applications/blockchains/sumokoin/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/sumokoin/default.nix b/pkgs/applications/blockchains/sumokoin/default.nix new file mode 100644 index 0000000000000..ee817b5819537 --- /dev/null +++ b/pkgs/applications/blockchains/sumokoin/default.nix @@ -0,0 +1,33 @@ +{ 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; [ fpletz ]; + platforms = platforms.linux; + }; +} |