2022-11-02 22:02:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitea, cmake, boost, miniupnpc, openssl, unbound
|
2022-01-13 20:06:32 +00:00
|
|
|
, readline, libsodium, rapidjson
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wownero";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "0.8.0.1";
|
2022-01-13 20:06:32 +00:00
|
|
|
randomwowVersion = "1.1.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "git.wownero.com";
|
|
|
|
owner = "wownero";
|
|
|
|
repo = "wownero";
|
2020-07-18 16:06:22 +00:00
|
|
|
rev = "v${version}";
|
2022-01-13 20:06:32 +00:00
|
|
|
sha256 = "sha256-+cUdousEiZMNwqhTvjoqw/k21x3dg7Lhb/5KyNUGrjQ=";
|
2020-07-18 16:06:22 +00:00
|
|
|
fetchSubmodules = false;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
randomwow = fetchFromGitea {
|
|
|
|
domain = "git.wownero.com";
|
|
|
|
owner = "wownero";
|
|
|
|
repo = "RandomWOW";
|
|
|
|
rev = randomwowVersion;
|
|
|
|
sha256 = "sha256-JzyRlHwM8rmJ5OaKHz+6vHGfpSz+X4zkFAKn4Jmo+EE=";
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-11-02 22:02:43 +00:00
|
|
|
boost miniupnpc openssl unbound rapidjson readline libsodium
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
postUnpack = ''
|
|
|
|
rm -r $sourceRoot/external/RandomWOW
|
2022-01-13 20:06:32 +00:00
|
|
|
ln -s ${randomwow} $sourceRoot/external/RandomWOW
|
2020-06-18 07:06:33 +00:00
|
|
|
'';
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
|
|
"-DMANUAL_SUBMODULES=ON"
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|