rippled-validator-keys-tool: 20180927-d7774bc → 0.3.2

+17 -17
+15 -13
pkgs/servers/rippled/validator-keys-tool.nix
··· 1 - { stdenv, lib, fetchgit, cmake, openssl, boost, zlib, rippled }: 1 + { stdenv, lib, fetchFromGitHub, cmake, openssl, boost, zlib, icu, rippled }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "rippled-validator-keys-tool-20180927-${builtins.substring 0 7 rev}"; 5 - rev = "d7774bcc1dc9439c586ea1c175fcd5ff3960b15f"; 4 + pname = "rippled-validator-keys-tool"; 5 + version = "0.3.2"; 6 6 7 - src = fetchgit { 8 - url = "https://github.com/ripple/validator-keys-tool.git"; 9 - inherit rev; 10 - sha256 = "1hcbwwa21n692qpbm0vqy5jvvnf4aias309610m4kwdsnzfw0902"; 7 + src = fetchFromGitHub { 8 + owner = "ripple"; 9 + repo = "validator-keys-tool"; 10 + rev = "5d7efcfeda3bdf6f5dda78056004a7c326321e9b"; 11 + sha256 = "1irm8asp6plk9xw3ksf4fqnim8h0vj3h96w638lx71pga1h4zvmy"; 11 12 }; 12 13 13 14 nativeBuildInputs = [ cmake ]; 14 - buildInputs = [ openssl boost zlib rippled ]; 15 + buildInputs = [ openssl boost zlib icu rippled ]; 15 16 16 17 hardeningDisable = ["format"]; 17 18 18 - preConfigure = '' 19 - export CXX="$(command -v $CXX)" 20 - export CC="$(command -v $CC)" 21 - ''; 19 + cmakeFlags = [ 20 + "-Dep_procs=1" 21 + ]; 22 22 23 23 installPhase = '' 24 + runHook preInstall 24 25 install -D validator-keys $out/bin/validator-keys 26 + runHook postInstall 25 27 ''; 26 28 27 29 meta = with lib; { 28 30 description = "Generate master and ephemeral rippled validator keys"; 29 31 homepage = "https://github.com/ripple/validator-keys-tool"; 30 - maintainers = with maintainers; [ offline ]; 32 + maintainers = with maintainers; [ offline rmcgibbo ]; 31 33 license = licenses.isc; 32 34 platforms = [ "x86_64-linux" ]; 33 35 };
+2 -4
pkgs/top-level/all-packages.nix
··· 18420 18420 18421 18421 # Fails to compile with boost >= 1.72 18422 18422 rippled = callPackage ../servers/rippled { 18423 - boost = boost171; 18423 + boost = boost17x; 18424 18424 }; 18425 18425 18426 18426 rippled-validator-keys-tool = callPackage ../servers/rippled/validator-keys-tool.nix { 18427 - boost = boost167.override { 18428 - enableStatic = true; 18429 - }; 18427 + boost = boost17x; 18430 18428 }; 18431 18429 18432 18430 roon-server = callPackage ../servers/roon-server { };