nixpkgs/pkgs/development/libraries/nuraft/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
661 B
Nix
Raw Normal View History

2023-06-07 07:33:30 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, boost, asio, openssl, zlib }:
2020-10-29 10:24:59 +00:00
stdenv.mkDerivation rec {
pname = "nuraft";
2023-01-22 00:27:36 +00:00
version = "2.1.0";
2020-10-29 10:24:59 +00:00
src = fetchFromGitHub {
owner = "eBay";
repo = "NuRaft";
rev = "v${version}";
2023-01-22 00:27:36 +00:00
sha256 = "sha256-puO8E7tSLqB0oq/NlzEZqQgIZKm7ZUb4HhR0XuI9dco=";
2020-10-29 10:24:59 +00:00
};
nativeBuildInputs = [ cmake ];
2023-06-07 07:33:30 +00:00
buildInputs = [ boost asio openssl zlib ];
2020-10-29 10:24:59 +00:00
meta = with lib; {
2020-10-29 10:24:59 +00:00
homepage = "https://github.com/eBay/NuRaft";
description = "C++ implementation of Raft core logic as a replication library";
license = licenses.asl20;
maintainers = with maintainers; [ wheelsandmetal ];
2023-06-07 07:33:30 +00:00
platforms = platforms.all;
2020-10-29 10:24:59 +00:00
};
}