Skip to content

Commit

Permalink
nuraft: init at 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelsandmetal committed Oct 29, 2020
1 parent 4e35d03 commit 166eade
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/libraries/nuraft/default.nix
@@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake, boost172, asio, openssl, zlib }:

stdenv.mkDerivation rec {
pname = "nuraft";
version = "1.1.2";

src = fetchFromGitHub {
owner = "eBay";
repo = "NuRaft";
rev = "v${version}";
sha256 = "sha256-l6rG8f+JAWfAJxEZPKRHZo2k8x9WbtSJC3gGCSMHYfs=";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ boost172 asio openssl zlib ];

meta = with stdenv.lib; {
homepage = "https://github.com/eBay/NuRaft";
description = "C++ implementation of Raft core logic as a replication library";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ wheelsandmetal ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -14671,6 +14671,8 @@ in

ntrack = callPackage ../development/libraries/ntrack { };

nuraft = callPackage ../development/libraries/nuraft { };

nuspell = callPackage ../development/libraries/nuspell { };
nuspellWithDicts = dicts: callPackage ../development/libraries/nuspell/wrapper.nix { inherit dicts; };

Expand Down

0 comments on commit 166eade

Please sign in to comment.