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