Updating ZeroMQ to 4.1.4

This commit is contained in:
Jason Ziglar 2016-02-13 13:25:31 -05:00
parent 99b43a25dd
commit b6586ee694

View File

@ -1,24 +1,16 @@
{ stdenv, fetchurl, libuuid, pkgconfig, libsodium }: { stdenv, fetchurl, libuuid, pkgconfig, libsodium }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "zeromq-4.1.3"; name = "zeromq-4.1.4";
src = fetchurl { src = fetchurl {
url = "http://download.zeromq.org/${name}.tar.gz"; url = "http://download.zeromq.org/${name}.tar.gz";
sha256 = "04gligbgr0phipjkwc0dyk1vr9306r6s4dbj85z7fxxk1n1ircv1"; sha256 = "0y73dxgf4kaysmkvrkxqq9qk5znklxyghh749jw4qbjwwbyl97z9";
}; };
# Fix zeromq-4.1.3 with libsodium-1.0.6
postPatch = ''
sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
'';
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libuuid libsodium ]; buildInputs = [ libuuid libsodium ];
# https://github.com/zeromq/libzmq/commit/479db2113643e459c11db392e0fefd6400657c9e
patches = [ ./sodium_warning.patch ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
branch = "4"; branch = "4";
homepage = "http://www.zeromq.org"; homepage = "http://www.zeromq.org";