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

31 lines
724 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}";
2018-01-02 01:05:06 +01:00
version = "4.2.3";
2014-05-01 13:52:21 +02:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "libzmq";
rev = "v${version}";
2018-01-02 01:05:06 +01:00
sha256 = "1yadf4vz4m49lpwwwscxs6wf4v9dgqgxkwgwpby9lvb4pv8qbmaf";
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;
2014-05-01 13:52:21 +02:00
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
};
}