diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-28 18:01:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 18:01:16 +0000 |
commit | 6fcda9f1ec27db14412a2103281b4b14f806066a (patch) | |
tree | 10d6f3aa9b4fc34ca27e907a5a7d199e6fca15b2 /pkgs/applications/blockchains/wownero/default.nix | |
parent | a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243 (diff) | |
parent | 4ecfa58c97863796f407b823049bcf1bd1866aac (diff) | |
download | nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.gz nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.bz2 nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.lz nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.xz nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.tar.zst nixpkgs-6fcda9f1ec27db14412a2103281b4b14f806066a.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/blockchains/wownero/default.nix')
-rw-r--r-- | pkgs/applications/blockchains/wownero/default.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/wownero/default.nix b/pkgs/applications/blockchains/wownero/default.nix new file mode 100644 index 00000000000..bc020de8be4 --- /dev/null +++ b/pkgs/applications/blockchains/wownero/default.nix @@ -0,0 +1,60 @@ +{ lib, stdenv, fetchgit, cmake, boost, miniupnpc_2, openssl, unbound +, readline, libsodium, rapidjson, fetchurl +}: + +with lib; + +let + randomwowVersion = "1.1.7"; + randomwow = fetchurl { + url = "https://github.com/wownero/RandomWOW/archive/${randomwowVersion}.tar.gz"; + sha256 = "1xp76zf01hnhnk6rjvqjav9n9pnvxzxlzqa5rc574d1c2qczfy3q"; + }; +in + +stdenv.mkDerivation rec { + pname = "wownero"; + version = "0.8.0.1"; + + src = fetchgit { + url = "https://git.wownero.com/wownero/wownero.git"; + rev = "v${version}"; + sha256 = "15443xv6q1nw4627ajk6k4ghhahvh82lb4gyb8nvq753p2v838g3"; + fetchSubmodules = false; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ + boost miniupnpc_2 openssl unbound rapidjson readline libsodium + ]; + + postUnpack = '' + rm -r $sourceRoot/external/RandomWOW + unpackFile ${randomwow} + mv RandomWOW-${randomwowVersion} $sourceRoot/external/RandomWOW + ''; + + cmakeFlags = [ + "-DReadline_ROOT_DIR=${readline.dev}" + "-DMANUAL_SUBMODULES=ON" + ]; + + meta = { + description = '' + A privacy-centric memecoin that was fairly launched on April 1, 2018 with + no pre-mine, stealth-mine or ICO + ''; + longDescription = '' + 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. + ''; + homepage = "https://wownero.org/"; + license = licenses.bsd3; + platforms = platforms.linux; + maintainers = with maintainers; [ fuwa ]; + }; +} |