nixpkgs/pkgs/applications/blockchains/wownero/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

62 lines
1.6 KiB
Nix
Raw Normal View History

2022-01-09 20:12:49 +00:00
{ lib, stdenv, fetchFromGitea, cmake, boost, miniupnpc_2, openssl, unbound
, readline, libsodium, rapidjson
2018-11-11 06:40:25 +00:00
}:
2021-01-15 13:21:58 +00:00
with lib;
2018-11-11 06:40:25 +00:00
stdenv.mkDerivation rec {
pname = "wownero";
2020-07-10 08:00:13 +01:00
version = "0.8.0.1";
2022-01-09 20:12:49 +00:00
randomwowVersion = "1.1.7";
2018-11-11 06:40:25 +00:00
2022-01-09 20:12:49 +00:00
src = fetchFromGitea {
domain = "git.wownero.com";
owner = "wownero";
repo = "wownero";
2020-07-10 08:00:13 +01:00
rev = "v${version}";
2022-01-09 20:12:49 +00:00
sha256 = "sha256-+cUdousEiZMNwqhTvjoqw/k21x3dg7Lhb/5KyNUGrjQ=";
2020-07-10 08:00:13 +01:00
fetchSubmodules = false;
2018-11-11 06:40:25 +00:00
};
2022-01-09 20:12:49 +00:00
randomwow = fetchFromGitea {
domain = "git.wownero.com";
owner = "wownero";
repo = "RandomWOW";
rev = randomwowVersion;
sha256 = "sha256-JzyRlHwM8rmJ5OaKHz+6vHGfpSz+X4zkFAKn4Jmo+EE=";
};
2019-11-12 04:46:02 +00:00
nativeBuildInputs = [ cmake ];
2018-11-11 06:40:25 +00:00
buildInputs = [
2019-11-12 04:46:02 +00:00
boost miniupnpc_2 openssl unbound rapidjson readline libsodium
2019-06-04 01:02:52 +01:00
];
2018-11-11 06:40:25 +00:00
2020-05-20 02:44:58 +01:00
postUnpack = ''
rm -r $sourceRoot/external/RandomWOW
2022-01-09 20:12:49 +00:00
ln -s ${randomwow} $sourceRoot/external/RandomWOW
2020-05-20 02:44:58 +01:00
'';
2018-11-11 06:40:25 +00:00
cmakeFlags = [
"-DReadline_ROOT_DIR=${readline.dev}"
"-DMANUAL_SUBMODULES=ON"
2019-06-04 01:02:52 +01:00
];
2018-11-11 06:40:25 +00:00
meta = {
2019-11-12 04:46:02 +00: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 06:40:25 +00:00
longDescription = ''
2019-11-12 04:46:02 +00: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 06:40:25 +00:00
'';
homepage = "https://wownero.org/";
2018-11-11 06:40:25 +00:00
license = licenses.bsd3;
2019-06-04 01:02:52 +01:00
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2018-11-11 06:40:25 +00:00
};
}