2019-06-16 12:59:06 -07:00
|
|
|
{ stdenv, fetchurl, zeromq }:
|
2014-12-17 11:00:48 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-01 17:33:12 -08:00
|
|
|
version = "4.2.0";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "czmq";
|
2014-12-17 11:00:48 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2019-03-01 17:33:12 -08:00
|
|
|
sha256 = "1szciz62sk3fm4ga9qjpxz0n0lazvphm32km95bq92ncng12kayg";
|
2014-12-17 11:00:48 -08:00
|
|
|
};
|
|
|
|
|
2015-09-17 19:21:43 -07:00
|
|
|
# Needs to be propagated for the .pc file to work
|
|
|
|
propagatedBuildInputs = [ zeromq ];
|
2014-12-17 11:00:48 -08:00
|
|
|
|
2015-03-11 18:48:58 -07:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://czmq.zeromq.org/";
|
2014-12-17 11:00:48 -08:00
|
|
|
description = "High-level C Binding for ZeroMQ";
|
2015-03-11 18:48:58 -07:00
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.all;
|
2014-12-17 11:00:48 -08:00
|
|
|
};
|
|
|
|
}
|