nixpkgs/pkgs/development/libraries/nanomsg/default.nix
2018-06-23 04:34:55 -07:00

22 lines
528 B
Nix

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