2016-06-11 17:32:12 +01:00
|
|
|
{ stdenv, cmake, fetchFromGitHub }:
|
2013-11-15 16:50:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-24 22:41:19 +01:00
|
|
|
version = "1.1.3";
|
2013-11-15 16:50:59 +00:00
|
|
|
name = "nanomsg-${version}";
|
|
|
|
|
2016-06-11 17:32:12 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nanomsg";
|
|
|
|
repo = "nanomsg";
|
|
|
|
rev = version;
|
2018-05-24 22:41:19 +01:00
|
|
|
sha256 = "0mckz63rm0hpnln7mkg79bwiybydzbxyzyb39y2m1bjj8xwxkp2m";
|
2013-11-15 16:50:59 +00:00
|
|
|
};
|
|
|
|
|
2016-06-11 17:32:12 +01:00
|
|
|
buildInputs = [ cmake ];
|
2013-11-15 16:50:59 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description= "Socket library that provides several common communication patterns";
|
|
|
|
homepage = http://nanomsg.org/;
|
|
|
|
license = licenses.mit;
|
2016-02-03 03:43:26 +00:00
|
|
|
platforms = platforms.unix;
|
2013-11-15 16:50:59 +00:00
|
|
|
};
|
|
|
|
}
|