nixpkgs-suyu/pkgs/development/ocaml-modules/ke/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
678 B
Nix
Raw Normal View History

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
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 ];
};
}