depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ke/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

29 lines
678 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";
duneVersion = "3";
meta = {
description = "Fast implementation of queue in OCaml";
homepage = "https://github.com/mirage/ke";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}