930b1c06b1
* ocamlPackages.otr: use Dune 3 * ocamlPackages.h2: use Dune 3 * ocamlPackages.index: use Dune 3 * ocamlPackages.progress: use Dune 3 * ocamlPackages.repr: use Dune 3 * ocamlPackages.emile: use Dune 3 * ocamlPackages.bistro: use Dune 3 * ocamlPackages.base64: 3.5.0 → 3.5.1
48 lines
941 B
Nix
48 lines
941 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";
|
|
hash = "sha256-rPwNzqkWqDak2mDTDIBqIvachY1vfOIzFmwaXjZea+4=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
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 ];
|
|
};
|
|
}
|