Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f612e3345baf
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: c76dd2948db0
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Feb 15, 2019

  1. rippled-validatior-keys-tool: init at d7774bcc

    Jaka Hudoklin committed Feb 15, 2019

    Unverified

    No user is associated with the committer email.
    Copy the full SHA
    2e93908 View commit details

Commits on Mar 23, 2019

  1. Merge pull request #55773 from xtruder/pkgs/rippled-validator-keys-to…

    …ol/init
    
     rippled-validatior-keys-tool: init at d7774bcc
    joachifm authored Mar 23, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c76dd29 View commit details
Showing with 40 additions and 0 deletions.
  1. +34 −0 pkgs/servers/rippled/validator-keys-tool.nix
  2. +6 −0 pkgs/top-level/all-packages.nix
34 changes: 34 additions & 0 deletions pkgs/servers/rippled/validator-keys-tool.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, lib, fetchgit, cmake, openssl, boost, zlib, rippled }:

stdenv.mkDerivation rec {
name = "rippled-validator-keys-tool-20180927-${builtins.substring 0 7 rev}";
rev = "d7774bcc1dc9439c586ea1c175fcd5ff3960b15f";

src = fetchgit {
url = "https://github.com/ripple/validator-keys-tool.git";
inherit rev;
sha256 = "1hcbwwa21n692qpbm0vqy5jvvnf4aias309610m4kwdsnzfw0902";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ openssl boost zlib rippled ];

hardeningDisable = ["format"];

preConfigure = ''
export CXX="$(command -v $CXX)"
export CC="$(command -v $CC)"
'';

installPhase = ''
install -D validator-keys $out/bin/validator-keys
'';

meta = with lib; {
description = "Generate master and ephemeral rippled validator keys";
homepage = https://github.com/ripple/validator-keys-tool;
maintainers = with maintainers; [ offline ];
license = licenses.isc;
platforms = [ "x86_64-linux" ];
};
}
6 changes: 6 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14152,6 +14152,12 @@ in
boost = boost167;
};

rippled-validator-keys-tool = callPackage ../servers/rippled/validator-keys-tool.nix {
boost = boost167.override {
enableStatic = true;
};
};

s6 = skawarePackages.s6;

s6-rc = skawarePackages.s6-rc;