nng: init at 1.5.2 (#187950)
This commit is contained in:
parent
f8594cd431
commit
a40f80c66f
2 changed files with 27 additions and 0 deletions
25
pkgs/development/libraries/nng/default.nix
Normal file
25
pkgs/development/libraries/nng/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, ninja }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nng";
|
||||
version = "1.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nanomsg";
|
||||
repo = "nng";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qbjMLpPk5FxH710Mf8AIraY0mERbaxVVhTT94W0EV+k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
|
||||
cmakeFlags = [ "-G Ninja" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://nng.nanomsg.org/";
|
||||
description = "Nanomsg next generation";
|
||||
license = licenses.mit;
|
||||
mainProgram = "nngcat";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -20503,6 +20503,8 @@ with pkgs;
|
|||
|
||||
nlohmann_json = callPackage ../development/libraries/nlohmann_json { };
|
||||
|
||||
nng = callPackage ../development/libraries/nng { };
|
||||
|
||||
nntp-proxy = callPackage ../applications/networking/nntp-proxy { };
|
||||
|
||||
non = callPackage ../applications/audio/non { stdenv = gcc10StdenvCompat; };
|
||||
|
|
Loading…
Reference in a new issue