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