3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/zeromq/4.x.nix

31 lines
768 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }:
2014-05-01 12:52:21 +01:00
stdenv.mkDerivation rec {
2016-11-09 23:29:13 +00:00
name = "zeromq-${version}";
2019-07-14 16:45:41 +01:00
version = "4.3.2";
2014-05-01 12:52:21 +01:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
2019-07-14 16:45:41 +01:00
sha256 = "1q37z05i76ili31j6jlw8988iy6vxadlmd306f99phxfdpqa6bn9";
2014-05-01 12:52:21 +01:00
};
nativeBuildInputs = [ cmake asciidoc ];
enableParallelBuilding = true;
doCheck = false; # fails all the tests (ctest)
cmakeFlags = if enableDrafts then [ "-DENABLE_DRAFTS=ON" ] else null;
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;
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;
maintainers = with maintainers; [ fpletz ];
2014-05-01 12:52:21 +01:00
};
}