libnats-c: init at 2.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
5eb304cc66
commit
daa2420950
31
pkgs/development/libraries/libnats-c/default.nix
Normal file
31
pkgs/development/libraries/libnats-c/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchFromGitHub
|
||||||
|
, cmake, protobuf, protobufc
|
||||||
|
, libsodium, openssl
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libnats";
|
||||||
|
version = "2.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nats-io";
|
||||||
|
repo = "nats.c";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
sha256 = "16a0f0gvrmyrqvmh6vinqny3qhm6wyzw5ijnn3r82b1gqlpws0fz";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ libsodium openssl protobuf protobufc ];
|
||||||
|
|
||||||
|
separateDebugInfo = true;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "C API for the NATS messaging system";
|
||||||
|
homepage = "https://github.com/nats-io/nats.c";
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ thoughtpolice ];
|
||||||
|
};
|
||||||
|
}
|
@ -12036,6 +12036,10 @@ in
|
|||||||
|
|
||||||
libinjection = callPackage ../development/libraries/libinjection { };
|
libinjection = callPackage ../development/libraries/libinjection { };
|
||||||
|
|
||||||
|
libnats-c = callPackage ../development/libraries/libnats-c {
|
||||||
|
openssl = openssl_1_0_2;
|
||||||
|
};
|
||||||
|
|
||||||
liburing = callPackage ../development/libraries/liburing { };
|
liburing = callPackage ../development/libraries/liburing { };
|
||||||
|
|
||||||
librseq = callPackage ../development/libraries/librseq { };
|
librseq = callPackage ../development/libraries/librseq { };
|
||||||
|
Loading…
Reference in New Issue
Block a user