Merge pull request #113127 from rmcgibbo/rippled-validator-keys-tool

rippled-validator-keys-tool: 20180927-d7774bc → 0.3.2
This commit is contained in:
Sandro 2021-02-15 02:43:59 +01:00 committed by GitHub
commit 4df6aacbbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 17 deletions

View File

@ -1,33 +1,35 @@
{ stdenv, lib, fetchgit, cmake, openssl, boost, zlib, rippled }:
{ stdenv, lib, fetchFromGitHub, cmake, openssl, boost, zlib, icu, rippled }:
stdenv.mkDerivation rec {
name = "rippled-validator-keys-tool-20180927-${builtins.substring 0 7 rev}";
rev = "d7774bcc1dc9439c586ea1c175fcd5ff3960b15f";
pname = "rippled-validator-keys-tool";
version = "0.3.2";
src = fetchgit {
url = "https://github.com/ripple/validator-keys-tool.git";
inherit rev;
sha256 = "1hcbwwa21n692qpbm0vqy5jvvnf4aias309610m4kwdsnzfw0902";
src = fetchFromGitHub {
owner = "ripple";
repo = "validator-keys-tool";
rev = "5d7efcfeda3bdf6f5dda78056004a7c326321e9b";
sha256 = "1irm8asp6plk9xw3ksf4fqnim8h0vj3h96w638lx71pga1h4zvmy";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openssl boost zlib rippled ];
buildInputs = [ openssl boost zlib icu rippled ];
hardeningDisable = ["format"];
preConfigure = ''
export CXX="$(command -v $CXX)"
export CC="$(command -v $CC)"
'';
cmakeFlags = [
"-Dep_procs=1"
];
installPhase = ''
runHook preInstall
install -D validator-keys $out/bin/validator-keys
runHook postInstall
'';
meta = with lib; {
description = "Generate master and ephemeral rippled validator keys";
homepage = "https://github.com/ripple/validator-keys-tool";
maintainers = with maintainers; [ offline ];
maintainers = with maintainers; [ offline rmcgibbo ];
license = licenses.isc;
platforms = [ "x86_64-linux" ];
};

View File

@ -18422,13 +18422,11 @@ in
# Fails to compile with boost >= 1.72
rippled = callPackage ../servers/rippled {
boost = boost171;
boost = boost17x;
};
rippled-validator-keys-tool = callPackage ../servers/rippled/validator-keys-tool.nix {
boost = boost167.override {
enableStatic = true;
};
boost = boost17x;
};
roon-server = callPackage ../servers/roon-server { };