
They are not doing anything right now. This is in preparation for their complete removal from the tree. Note: several changes that affect the derivation inputs (e.g. removal of references to stub paths in build instructions) were left out. They will be cleaned up the next iteration and will require special care. Note: this PR is a result of a mix of ugly regex (not AST) based automation and some manual labor. For reference, the regex automation part was hacked in: https://github.com/booxter/nix-clean-apple_sdk Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
106 lines
2.4 KiB
Nix
106 lines
2.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
fetchFromGitea,
|
|
cmake,
|
|
python3,
|
|
boost186,
|
|
libsodium,
|
|
openssl,
|
|
rapidjson,
|
|
readline,
|
|
unbound,
|
|
zeromq,
|
|
}:
|
|
|
|
let
|
|
# submodules
|
|
miniupnp = fetchFromGitHub {
|
|
owner = "miniupnp";
|
|
repo = "miniupnp";
|
|
rev = "miniupnpc_2_2_1";
|
|
hash = "sha256-opd0hcZV+pjC3Mae3Yf6AR5fj6xVwGm9LuU5zEPxBKc=";
|
|
};
|
|
supercop = fetchFromGitHub {
|
|
owner = "monero-project";
|
|
repo = "supercop";
|
|
rev = "633500ad8c8759995049ccd022107d1fa8a1bbc9";
|
|
hash = "sha256-26UmESotSWnQ21VbAYEappLpkEMyl0jiuCaezRYd/sE=";
|
|
};
|
|
randomwow = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "wownero";
|
|
repo = "RandomWOW";
|
|
rev = "27b099b6dd6fef6e17f58c6dfe00009e9c5df587";
|
|
hash = "sha256-imiXr4irXeKiQ6VMd6f3MJ46zvdvymnRdHGgnEvkT+o=";
|
|
};
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "wownero";
|
|
version = "0.11.3.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "wownero";
|
|
repo = "wownero";
|
|
tag = "v${version}";
|
|
hash = "sha256-EioXFfUQ+CV6+Ipef1wbmc+taKI98I420J7eqzz15Ss=";
|
|
};
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
"-Wno-error=cast-user-defined"
|
|
"-Wno-error=implicit-function-declaration"
|
|
"-Wno-error=int-conversion"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
python3
|
|
];
|
|
|
|
buildInputs = [
|
|
boost186
|
|
libsodium
|
|
openssl
|
|
rapidjson
|
|
readline
|
|
unbound
|
|
zeromq
|
|
];
|
|
|
|
postUnpack = ''
|
|
rm -r $sourceRoot/external/miniupnp
|
|
ln -s ${miniupnp} $sourceRoot/external/miniupnp
|
|
|
|
rm -r $sourceRoot/external/randomwow
|
|
ln -s ${randomwow} $sourceRoot/external/randomwow
|
|
|
|
rm -r $sourceRoot/external/supercop
|
|
ln -s ${supercop} $sourceRoot/external/supercop
|
|
'';
|
|
|
|
cmakeFlags = [
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
"-DMANUAL_SUBMODULES=ON"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|