depot/third_party/nixpkgs/pkgs/development/ocaml-modules/index/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

47 lines
918 B
Nix

{ lib, fetchurl, buildDunePackage
, repr, ppx_repr, fmt, logs, mtime, stdlib-shims
, cmdliner, progress, semaphore-compat, optint
, alcotest, crowbar, re, lru
}:
buildDunePackage rec {
pname = "index";
version = "1.6.2";
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
hash = "sha256-k4iDUJik7UTuztBw7YaFXASd8SqYMR1JgLm3JOyriGA=";
};
minimalOCamlVersion = "4.08";
buildInputs = [
stdlib-shims
];
propagatedBuildInputs = [
cmdliner
fmt
logs
mtime
ppx_repr
progress
repr
semaphore-compat
optint
lru
];
checkInputs = [
alcotest
crowbar
re
];
doCheck = true;
meta = with lib; {
description = "Platform-agnostic multi-level index";
homepage = "https://github.com/mirage/index";
license = licenses.mit;
maintainers = with maintainers; [ vbgl ];
};
}