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 14:15:51 +00:00
|
|
|
version = "4.1.1";
|
2016-08-22 15:14:23 +00: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 14:15:51 +00:00
|
|
|
sha256 = "1h5hrcsc30fcwb032vy5gxkq4j4vv1y4dj460rfs1hhxi0cz83zh";
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
|
2015-09-18 02:21:43 +00: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 20:03:30 +00: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;
|
2014-12-17 19:00:48 +00:00
|
|
|
};
|
|
|
|
}
|