2019-10-20 22:31:10 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, bigarray-compat, fmt
|
|
|
|
, alcotest, bigstringaf
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ke";
|
|
|
|
version = "0.4";
|
|
|
|
|
2020-12-01 07:49:25 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-10-20 22:31:10 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-v${version}.tbz";
|
|
|
|
sha256 = "13c9xy60vmq29mnwpg3h3zgl6gjbjfwbx1s0crfc6xwvark0zxnx";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ bigarray-compat fmt ];
|
|
|
|
|
2020-12-01 07:49:25 +01:00
|
|
|
checkInputs = [ alcotest bigstringaf ];
|
2019-10-20 22:31:10 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Fast implementation of queue in OCaml";
|
|
|
|
homepage = "https://github.com/mirage/ke";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|