2019-10-20 20:31:10 +00:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, bigarray-compat, fmt
|
|
|
|
, alcotest, bigstringaf
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ke";
|
2022-06-22 14:54:13 +00:00
|
|
|
version = "0.6";
|
2020-12-01 06:49:25 +00:00
|
|
|
|
2019-10-20 20:31:10 +00:00
|
|
|
src = fetchurl {
|
2022-06-22 14:54:13 +00:00
|
|
|
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz";
|
|
|
|
sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU=";
|
2019-10-20 20:31:10 +00:00
|
|
|
};
|
|
|
|
|
2022-06-22 14:54:13 +00:00
|
|
|
propagatedBuildInputs = [ fmt ];
|
2019-10-20 20:31:10 +00:00
|
|
|
|
2020-12-01 06:49:25 +00:00
|
|
|
checkInputs = [ alcotest bigstringaf ];
|
2019-10-20 20:31:10 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2022-06-22 14:54:13 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2019-10-20 20:31:10 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fast implementation of queue in OCaml";
|
|
|
|
homepage = "https://github.com/mirage/ke";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|