nng: init at 1.5.2 (#187950)

This commit is contained in:
nviets 2022-08-23 05:35:50 -05:00 committed by GitHub
parent f8594cd431
commit a40f80c66f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View 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;
};
}

View file

@ -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; };