2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, zeromq }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "4.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "czmq";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-XXIKIEwqWGRdb3ZDrxXVY6cS2tmMnTLB7ZEzd9qmrDk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Needs to be propagated for the .pc file to work
|
|
|
|
propagatedBuildInputs = [ zeromq ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://czmq.zeromq.org/";
|
|
|
|
description = "High-level C Binding for ZeroMQ";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "zmakecert";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|