Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e35d03
commit 166eade
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters