mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #101247 from wheelsandmetal/add-nuraft-lib
nuraft: init at 1.1.2
This commit is contained in:
commit
75b92ef1a1
@ -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";
|
||||
|
24
pkgs/development/libraries/nuraft/default.nix
Normal file
24
pkgs/development/libraries/nuraft/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user