aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/ke/default.nix
blob: f14383207ea60f64cbb340f003525c057e66b50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, buildDunePackage, fetchurl
, bigarray-compat, fmt
, alcotest, bigstringaf
}:

buildDunePackage rec {
  pname = "ke";
  version = "0.4";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/mirage/ke/releases/download/v${version}/ke-v${version}.tbz";
    sha256 = "13c9xy60vmq29mnwpg3h3zgl6gjbjfwbx1s0crfc6xwvark0zxnx";
  };

  propagatedBuildInputs = [ bigarray-compat fmt ];

  checkInputs = [ alcotest bigstringaf ];
  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 ];
  };
}