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}";
|
2018-01-02 00:05:06 +00:00
|
|
|
version = "4.2.3";
|
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}";
|
2018-01-02 00:05:06 +00:00
|
|
|
sha256 = "1yadf4vz4m49lpwwwscxs6wf4v9dgqgxkwgwpby9lvb4pv8qbmaf";
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.zeromq.org;
|
2014-05-01 12:52:21 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|