Files
nixpkgs/pkgs/development/ocaml-modules/amqp-client/default.nix
Marcin Serwin c1b9d04d9c maintainers: drop momeemt
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-06-04 12:05:36 +02:00

40 lines
1.0 KiB
Nix

{
lib,
buildDunePackage,
fetchFromGitHub,
version ? "2.3.0",
}:
buildDunePackage {
pname = "amqp-client";
inherit version;
minimalOCamlVersion = "4.14.0";
src = fetchFromGitHub {
owner = "andersfugmann";
repo = "amqp-client";
tag = version;
hash = "sha256-zWhkjVoKyNCIBXD5746FywCg3DKn1mXb1tn1VlF9Tyg=";
};
doCheck = true;
meta = {
description = "Amqp client base library";
homepage = "https://github.com/andersfugmann/amqp-client";
license = lib.licenses.bsd3;
changelog = "https://raw.githubusercontent.com/andersfugmann/amqp-client/refs/tags/${version}/Changelog";
maintainers = [ ];
longDescription = ''
This library provides high level client bindings for amqp. The library
is tested with rabbitmq, but should work with other amqp
servers. The library is written in pure OCaml.
This is the base library required by lwt/async versions.
You should install either amqp-client-async or amqp-client-lwt
for actual client functionality.
'';
};
}