75ca762b89
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
30 lines
780 B
Nix
30 lines
780 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, libsodium
|
|
, enableDrafts ? false }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zeromq";
|
|
version = "4.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeromq";
|
|
repo = "libzmq";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-epOEyHOswUGVwzz0FLxhow/zISmZHxsIgmpOV8C8bQM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake asciidoc pkg-config ];
|
|
buildInputs = [ libsodium ];
|
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
cmakeFlags = lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
|
|
|
|
meta = with lib; {
|
|
branch = "4";
|
|
homepage = "http://www.zeromq.org";
|
|
description = "The Intelligent Transport Layer";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
};
|
|
}
|