Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5 version ? "2.3.0", 6}: 7 8buildDunePackage { 9 pname = "amqp-client"; 10 11 inherit version; 12 minimalOCamlVersion = "4.14.0"; 13 14 src = fetchFromGitHub { 15 owner = "andersfugmann"; 16 repo = "amqp-client"; 17 tag = version; 18 hash = "sha256-zWhkjVoKyNCIBXD5746FywCg3DKn1mXb1tn1VlF9Tyg="; 19 }; 20 21 doCheck = true; 22 23 meta = { 24 description = "Amqp client base library"; 25 homepage = "https://github.com/andersfugmann/amqp-client"; 26 license = lib.licenses.bsd3; 27 changelog = "https://raw.githubusercontent.com/andersfugmann/amqp-client/refs/tags/${version}/Changelog"; 28 maintainers = with lib.maintainers; [ momeemt ]; 29 longDescription = '' 30 This library provides high level client bindings for amqp. The library 31 is tested with rabbitmq, but should work with other amqp 32 servers. The library is written in pure OCaml. 33 34 This is the base library required by lwt/async versions. 35 You should install either amqp-client-async or amqp-client-lwt 36 for actual client functionality. 37 ''; 38 }; 39}