3
0
Fork 0
forked from mirrors/nixpkgs

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

View file

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