nixpkgs-suyu/pkgs/applications/blockchains/wownero.nix

48 lines
1.3 KiB
Nix
Raw Normal View History

2019-11-12 05:46:02 +01:00
{ stdenv, fetchFromGitHub, cmake, boost, miniupnpc_2, openssl, unbound
, readline, libsodium, rapidjson
2018-11-11 07:40:25 +01:00
}:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "wownero";
2019-11-12 05:46:02 +01:00
version = "0.7.0";
2018-11-11 07:40:25 +01:00
src = fetchFromGitHub {
owner = "wownero";
repo = "wownero";
rev = "v${version}";
2019-11-12 05:46:02 +01:00
sha256 = "0lji24s6346qxcj4pmylv8byb8fnqzpmz81rx4i3zhc1bcsvdwas";
2019-06-04 02:02:52 +02:00
fetchSubmodules = true;
2018-11-11 07:40:25 +01:00
};
2019-11-12 05:46:02 +01:00
nativeBuildInputs = [ cmake ];
2018-11-11 07:40:25 +01:00
buildInputs = [
2019-11-12 05:46:02 +01:00
boost miniupnpc_2 openssl unbound rapidjson readline libsodium
2019-06-04 02:02:52 +02:00
];
2018-11-11 07:40:25 +01:00
cmakeFlags = [
"-DReadline_ROOT_DIR=${readline.dev}"
"-DMANUAL_SUBMODULES=ON"
2019-06-04 02:02:52 +02:00
];
2018-11-11 07:40:25 +01:00
meta = {
2019-11-12 05:46:02 +01:00
description = ''
A privacy-centric memecoin that was fairly launched on April 1, 2018 with
no pre-mine, stealth-mine or ICO
'';
2018-11-11 07:40:25 +01:00
longDescription = ''
2019-11-12 05:46:02 +01:00
Wownero has a maximum supply of around 184 million WOW with a slow and
steady emission over 50 years. It is a fork of Monero, but with its own
genesis block, so there is no degradation of privacy due to ring
signatures using different participants for the same tx outputs on
opposing forks.
2018-11-11 07:40:25 +01:00
'';
homepage = "https://wownero.org/";
2018-11-11 07:40:25 +01:00
license = licenses.bsd3;
2019-06-04 02:02:52 +02:00
platforms = platforms.linux;
2018-11-11 07:40:25 +01:00
maintainers = with maintainers; [ fuwa ];
};
}