nixpkgs/pkgs/development/ocaml-modules/index/default.nix
2022-09-04 12:16:56 +02:00

48 lines
922 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.1";
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
sha256 = "sha256-rPwNzqkWqDak2mDTDIBqIvachY1vfOIzFmwaXjZea+4=";
};
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 = "A platform-agnostic multi-level index";
homepage = "https://github.com/mirage/index";
license = licenses.mit;
maintainers = with maintainers; [ vbgl ];
};
}