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