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: 4c92053749c3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 75b92ef1a161
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 29, 2020

  1. Copy the full SHA
    4e35d03 View commit details
  2. nuraft: init at 1.1.2

    wheelsandmetal committed Oct 29, 2020
    Copy the full SHA
    166eade View commit details
  3. Merge pull request #101247 from wheelsandmetal/add-nuraft-lib

    nuraft: init at 1.1.2
    AndersonTorres authored Oct 29, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    75b92ef View commit details
Showing with 32 additions and 0 deletions.
  1. +6 −0 maintainers/maintainer-list.nix
  2. +24 −0 pkgs/development/libraries/nuraft/default.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -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 changes: 24 additions & 0 deletions pkgs/development/libraries/nuraft/default.nix
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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; };