nixpkgs/pkgs/development/libraries/nanomsg/default.nix

23 lines
528 B
Nix
Raw Normal View History

2016-06-11 17:32:12 +01:00
{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.1.4";
name = "nanomsg-${version}";
2016-06-11 17:32:12 +01:00
src = fetchFromGitHub {
owner = "nanomsg";
repo = "nanomsg";
rev = version;
sha256 = "11mxbhkxkzqwdmpl79mfiiqby7zawgkalips7zr0bbdfyhq7jyrl";
};
2016-06-11 17:32:12 +01:00
buildInputs = [ cmake ];
meta = with stdenv.lib; {
description= "Socket library that provides several common communication patterns";
2018-06-23 12:34:55 +01:00
homepage = https://nanomsg.org/;
license = licenses.mit;
platforms = platforms.unix;
};
}