1{ lib, buildDunePackage, fetchurl
2, bigarray-compat, fmt
3, alcotest, bigstringaf
4}:
5
6buildDunePackage rec {
7 pname = "ke";
8 version = "0.6";
9
10 src = fetchurl {
11 url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz";
12 sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU=";
13 };
14
15 propagatedBuildInputs = [ fmt ];
16
17 checkInputs = [ alcotest bigstringaf ];
18 doCheck = true;
19
20 minimalOCamlVersion = "4.08";
21 duneVersion = "3";
22
23 meta = {
24 description = "Fast implementation of queue in OCaml";
25 homepage = "https://github.com/mirage/ke";
26 license = lib.licenses.mit;
27 maintainers = [ lib.maintainers.vbgl ];
28 };
29}