nixpkgs/pkgs/development/libraries/zeromq/4.x.nix

31 lines
781 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, asciidoc, pkg-config, libsodium
, enableDrafts ? false }:
2014-05-01 12:52:21 +01:00
stdenv.mkDerivation rec {
pname = "zeromq";
version = "4.3.3";
2014-05-01 12:52:21 +01:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
sha256 = "155kb0ih0xj4jvd39bq8d04bgvhy9143r3632ks1m04455z4qdzd";
2014-05-01 12:52:21 +01:00
};
nativeBuildInputs = [ cmake asciidoc pkg-config ];
buildInputs = [ libsodium ];
doCheck = false; # fails all the tests (ctest)
cmakeFlags = lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
meta = with 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
};
}