Merge pull request #101247 from wheelsandmetal/add-nuraft-lib

nuraft: init at 1.1.2
This commit is contained in:
Anderson Torres 2020-10-29 09:24:06 -03:00 committed by GitHub
commit 75b92ef1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -9250,6 +9250,12 @@
email = "kirill.wedens@gmail.com";
name = "wedens";
};
wheelsandmetal = {
email = "jakob@schmutz.co.uk";
github = "wheelsandmetal";
githubId = 13031455;
name = "Jakob Schmutz";
};
WhittlesJr = {
email = "alex.joseph.whitt@gmail.com";
github = "WhittlesJr";

View File

@ -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 ];
};
}

View File

@ -14781,6 +14781,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; };