0eeabdeb66
GitOrigin-RevId: c07b471b52be8fbc49a7dc194e9b37a6e19ee04d
48 lines
942 B
Nix
48 lines
942 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.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
|
|
sha256 = "1q1lv960dk1br8nz8gkibdywl2wv64ywib7b9jn33f6mpb81qc9f";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
useDune2 = true;
|
|
|
|
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 = "A platform-agnostic multi-level index";
|
|
homepage = "https://github.com/mirage/index";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|