nixpkgs-suyu/pkgs/development/libraries/czmq/3.x.nix

27 lines
664 B
Nix
Raw Normal View History

2015-03-12 02:48:58 +01:00
{ stdenv, fetchurl, zeromq }:
2014-12-17 20:00:48 +01:00
stdenv.mkDerivation rec {
version = "3.0.2";
name = "czmq-${version}";
2014-12-17 20:00:48 +01:00
src = fetchurl {
url = "http://download.zeromq.org/${name}.tar.gz";
2015-09-18 04:21:43 +02:00
sha256 = "16k9awrhdsymx7dnmvqcnkaq8lz8x8zppy6sh7ls8prpd6mkkjlb";
2014-12-17 20:00:48 +01:00
};
2017-11-17 08:04:00 +01:00
patches = [ ./czmq3-gcc7.patch ];
# Fix build on Glibc 2.24.
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
2015-09-18 04:21:43 +02:00
# Needs to be propagated for the .pc file to work
propagatedBuildInputs = [ zeromq ];
2014-12-17 20:00:48 +01:00
2015-03-12 02:48:58 +01:00
meta = with stdenv.lib; {
homepage = http://czmq.zeromq.org/;
2014-12-17 20:00:48 +01:00
description = "High-level C Binding for ZeroMQ";
2015-03-12 02:48:58 +01:00
license = licenses.mpl20;
platforms = platforms.all;
2014-12-17 20:00:48 +01:00
};
}