2017-11-17 07:04:00 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, zeromq }:
|
2014-12-17 19:00:48 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-09-19 15:15:51 +01:00
|
|
|
version = "4.1.1";
|
2016-08-22 16:14:23 +01:00
|
|
|
name = "czmq-${version}";
|
2014-12-17 19:00:48 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-18 19:24:49 +00:00
|
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${name}.tar.gz";
|
2018-09-19 15:15:51 +01:00
|
|
|
sha256 = "1h5hrcsc30fcwb032vy5gxkq4j4vv1y4dj460rfs1hhxi0cz83zh";
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
|
2015-09-18 03:21:43 +01:00
|
|
|
# Needs to be propagated for the .pc file to work
|
|
|
|
propagatedBuildInputs = [ zeromq ];
|
2014-12-17 19:00:48 +00:00
|
|
|
|
2015-03-12 01:48:58 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://czmq.zeromq.org/;
|
2014-12-17 19:00:48 +00:00
|
|
|
description = "High-level C Binding for ZeroMQ";
|
2015-03-12 01:48:58 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
}
|