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

30 lines
837 B
Nix
Raw Normal View History

2017-11-17 08:04:00 +01:00
{ stdenv, fetchurl, fetchpatch, zeromq }:
2014-12-17 20:00:48 +01:00
stdenv.mkDerivation rec {
2017-02-18 20:24:49 +01:00
version = "4.0.2";
name = "czmq-${version}";
2014-12-17 20:00:48 +01:00
src = fetchurl {
2017-02-18 20:24:49 +01:00
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${name}.tar.gz";
sha256 = "12gbh57xnz2v82x1g80gv4bwapmyzl00lbin5ix3swyac8i7m340";
2014-12-17 20:00:48 +01:00
};
2017-11-17 08:04:00 +01:00
patches = [
(fetchpatch {
url = https://patch-diff.githubusercontent.com/raw/zeromq/czmq/pull/1618.patch;
sha256 = "1dssy7k0fni6djail8rz0lk8p777158jvrqhgn500i636gkxaxhp";
})
];
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;
maintainers = with maintainers; [ wkennington ];
2014-12-17 20:00:48 +01:00
};
}