1 { lib, stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, libsodium
2 , enableDrafts ? false }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-epOEyHOswUGVwzz0FLxhow/zISmZHxsIgmpOV8C8bQM=";
15 nativeBuildInputs = [ cmake asciidoc pkg-config ];
16 buildInputs = [ libsodium ];
18 doCheck = false; # fails all the tests (ctest)
20 cmakeFlags = lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
24 homepage = "http://www.zeromq.org";
25 description = "The Intelligent Transport Layer";
26 license = licenses.gpl3;
27 platforms = platforms.all;
28 maintainers = with maintainers; [ fpletz ];