diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-02-06 04:25:37 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-02-10 20:41:29 +0100 |
commit | e05a05e0a7a6777ea16790a7aedb40b96189a692 (patch) | |
tree | 969032f7fd1da0de833fd9e1012ed19c0dfa39bf /pkgs/applications/altcoins/sumokoin.nix | |
parent | 0905e5e23affddfe1857a41266e336926bfec546 (diff) | |
download | nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar.gz nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar.bz2 nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar.lz nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar.xz nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.tar.zst nixpkgs-e05a05e0a7a6777ea16790a7aedb40b96189a692.zip |
altcoins.sumokoin: init at 0.2.0.0
Diffstat (limited to 'pkgs/applications/altcoins/sumokoin.nix')
-rw-r--r-- | pkgs/applications/altcoins/sumokoin.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/sumokoin.nix b/pkgs/applications/altcoins/sumokoin.nix new file mode 100644 index 00000000000..026008b2761 --- /dev/null +++ b/pkgs/applications/altcoins/sumokoin.nix @@ -0,0 +1,35 @@ +{ lib, stdenv, fetchFromGitHub, cmake, unbound, openssl, boost +, libunwind, lmdb, miniupnpc }: + +stdenv.mkDerivation rec { + name = "sumokoin-${version}"; + 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; { + description = "Sumokoin is a fork of Monero and a truely fungible cryptocurrency"; + homepage = "https://www.sumokoin.org/"; + license = licenses.bsd3; + maintainers = with maintainers; [ fpletz ]; + platforms = platforms.linux; + }; +} |