depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ke/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

28 lines
657 B
Nix

{ lib, buildDunePackage, fetchurl
, bigarray-compat, fmt
, alcotest, bigstringaf
}:
buildDunePackage rec {
pname = "ke";
version = "0.6";
src = fetchurl {
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-${version}.tbz";
sha256 = "sha256-YSFyB+IgCwSxd1lzZhD/kggmmmR/hUy1rnLNrA1nIwU=";
};
propagatedBuildInputs = [ fmt ];
checkInputs = [ alcotest bigstringaf ];
doCheck = true;
minimalOCamlVersion = "4.08";
meta = {
description = "Fast implementation of queue in OCaml";
homepage = "https://github.com/mirage/ke";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}