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

31 lines
726 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, asciidoc }:
2014-05-01 13:52:21 +02:00
stdenv.mkDerivation rec {
2016-11-10 00:29:13 +01:00
name = "zeromq-${version}";
2017-02-18 21:09:06 +01:00
version = "4.2.2";
2014-05-01 13:52:21 +02:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
sha256 = "09317g4zkalp3k11x6vbidcm4qf02ciml1wxgp3742lrlgcblgxy";
2014-05-01 13:52:21 +02:00
};
nativeBuildInputs = [ cmake asciidoc ];
enableParallelBuilding = true;
postPatch = ''
sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
'';
2014-05-01 13:52:21 +02:00
2015-03-12 02:48:23 +01:00
meta = with stdenv.lib; {
2014-05-01 13:52:21 +02:00
branch = "4";
homepage = "http://www.zeromq.org";
description = "The Intelligent Transport Layer";
2015-03-12 02:48:23 +01:00
license = licenses.gpl3;
platforms = platforms.all;
2016-11-10 00:29:13 +01:00
maintainers = with maintainers; [ wkennington fpletz ];
2014-05-01 13:52:21 +02:00
};
}