2017-07-27 13:52:02 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, asciidoc }:
|
2014-05-01 12:52:21 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-09 23:29:13 +00:00
|
|
|
name = "zeromq-${version}";
|
2017-02-18 20:09:06 +00:00
|
|
|
version = "4.2.2";
|
2014-05-01 12:52:21 +01:00
|
|
|
|
2017-07-27 13:52:02 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zeromq";
|
|
|
|
repo = "libzmq";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "09317g4zkalp3k11x6vbidcm4qf02ciml1wxgp3742lrlgcblgxy";
|
2014-05-01 12:52:21 +01:00
|
|
|
};
|
|
|
|
|
2017-07-27 13:52:02 +01:00
|
|
|
nativeBuildInputs = [ cmake asciidoc ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
|
|
|
|
'';
|
2014-05-01 12:52:21 +01:00
|
|
|
|
2015-03-12 01:48:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-01 12:52:21 +01:00
|
|
|
branch = "4";
|
|
|
|
homepage = "http://www.zeromq.org";
|
|
|
|
description = "The Intelligent Transport Layer";
|
2015-03-12 01:48:23 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2016-11-09 23:29:13 +00:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-05-01 12:52:21 +01:00
|
|
|
};
|
|
|
|
}
|