2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl, zeromq }:
|
2014-12-17 20:00:48 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-01-18 15:06:00 +01:00
|
|
|
version = "4.2.1";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "czmq";
|
2014-12-17 20:00:48 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2021-01-18 15:06:00 +01:00
|
|
|
sha256 = "sha256-XXIKIEwqWGRdb3ZDrxXVY6cS2tmMnTLB7ZEzd9qmrDk=";
|
2014-12-17 20:00:48 +01:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|