depot/third_party/nixpkgs/pkgs/development/libraries/zeromq/4.x.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
781 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, libsodium
, enableDrafts ? false }:
stdenv.mkDerivation rec {
pname = "zeromq";
version = "4.3.3";
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
sha256 = "155kb0ih0xj4jvd39bq8d04bgvhy9143r3632ks1m04455z4qdzd";
};
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 ];
};
}