2019-07-19 03:09:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }:
|
2014-05-01 11:52:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zeromq";
|
2019-07-14 15:45:41 +00:00
|
|
|
version = "4.3.2";
|
2014-05-01 11:52:21 +00:00
|
|
|
|
2017-07-27 12:52:02 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zeromq";
|
|
|
|
repo = "libzmq";
|
|
|
|
rev = "v${version}";
|
2019-07-14 15:45:41 +00:00
|
|
|
sha256 = "1q37z05i76ili31j6jlw8988iy6vxadlmd306f99phxfdpqa6bn9";
|
2014-05-01 11:52:21 +00:00
|
|
|
};
|
|
|
|
|
2017-07-27 12:52:02 +00:00
|
|
|
nativeBuildInputs = [ cmake asciidoc ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
|
2019-10-26 13:35:48 +00:00
|
|
|
cmakeFlags = stdenv.lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
|
2019-07-19 03:09:55 +00:00
|
|
|
|
2015-03-12 01:48:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-01 11:52:21 +00:00
|
|
|
branch = "4";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.zeromq.org;
|
2014-05-01 11:52:21 +00:00
|
|
|
description = "The Intelligent Transport Layer";
|
2015-03-12 01:48:23 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2019-01-26 10:01:09 +00:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2014-05-01 11:52:21 +00:00
|
|
|
};
|
|
|
|
}
|