Skip to content

Commit

Permalink
nng: init at 1.5.2 (#187950)
Browse files Browse the repository at this point in the history
  • Loading branch information
nviets committed Aug 23, 2022
1 parent f8594cd commit a40f80c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/libraries/nng/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; };
Expand Down

0 comments on commit a40f80c

Please sign in to comment.