1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/libraries/zeromq/4.x.nix
2019-12-30 11:13:38 +01:00

31 lines
756 B
Nix

{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }:
stdenv.mkDerivation rec {
pname = "zeromq";
version = "4.3.2";
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
sha256 = "1q37z05i76ili31j6jlw8988iy6vxadlmd306f99phxfdpqa6bn9";
};
nativeBuildInputs = [ cmake asciidoc ];
enableParallelBuilding = true;
doCheck = false; # fails all the tests (ctest)
cmakeFlags = stdenv.lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
meta = with stdenv.lib; {
branch = "4";
homepage = http://www.zeromq.org;
description = "The Intelligent Transport Layer";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ fpletz ];
};
}