mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
33 lines
774 B
Nix
33 lines
774 B
Nix
{ stdenv, fetchFromGitHub, cmake, asciidoc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "zeromq-${version}";
|
|
version = "4.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeromq";
|
|
repo = "libzmq";
|
|
rev = "v${version}";
|
|
sha256 = "1yadf4vz4m49lpwwwscxs6wf4v9dgqgxkwgwpby9lvb4pv8qbmaf";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake asciidoc ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
postPatch = ''
|
|
sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
|
|
'';
|
|
|
|
doCheck = false; # fails all the tests (ctest)
|
|
|
|
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; [ wkennington fpletz ];
|
|
};
|
|
}
|