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