2023-08-18 20:33:40 +03:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
2025-05-01 00:36:54 +02:00
|
|
|
boost183,
|
2023-08-18 20:33:40 +03:00
|
|
|
cmake,
|
|
|
|
ninja,
|
|
|
|
zeromq,
|
|
|
|
catch2,
|
2025-05-01 00:36:54 +02:00
|
|
|
unstableGitUpdater,
|
2023-08-18 20:33:40 +03:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "azmq";
|
2025-05-01 00:36:54 +02:00
|
|
|
version = "1.0.3-unstable-2025-01-19";
|
2023-08-18 20:33:40 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zeromq";
|
|
|
|
repo = "azmq";
|
2025-05-01 00:36:54 +02:00
|
|
|
rev = "4e8f18bf3ac60f5c8126db61e48927ea19a88195";
|
|
|
|
hash = "sha256-0TYZvQefoW77RXhQ57niXs3Kcz2YHW9cBDNGFU47BBs=";
|
2023-08-18 20:33:40 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2025-05-01 00:36:54 +02:00
|
|
|
boost183
|
2023-08-18 20:33:40 +03:00
|
|
|
catch2
|
|
|
|
zeromq
|
|
|
|
];
|
|
|
|
|
|
|
|
# Broken for some reason on this platform.
|
|
|
|
doCheck = !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux);
|
|
|
|
|
2025-05-01 00:36:54 +02:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
tagPrefix = "v";
|
|
|
|
};
|
|
|
|
|
2023-08-18 20:33:40 +03:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/zeromq/azmq";
|
|
|
|
license = licenses.boost;
|
|
|
|
description = "C++ language binding library integrating ZeroMQ with Boost Asio";
|
2025-04-06 14:24:01 +03:00
|
|
|
maintainers = [ ];
|
2023-08-18 20:33:40 +03:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|