nixpkgs/pkgs/development/ocaml-modules/index/default.nix
Vincent Laporte 4922992a04
ligo: 1.4.0 → 1.6.0
ocamlPackages.data-encoding: 0.7.1 → 1.0.1
ocamlPackages.index: 1.6.1 → 1.6.2
ocamlPackages.irmin: 3.7.2 → 3.9.0
ocamlPackages.irmin-http: remove at 3.7.2
ocamlPackages.mirage-kv: 4.0.1 → 6.1.1
ocamlPackages.terminal: 0.2.1 → 0.2.2
2024-04-18 05:49:15 +02:00

48 lines
920 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 = "A platform-agnostic multi-level index";
homepage = "https://github.com/mirage/index";
license = licenses.mit;
maintainers = with maintainers; [ vbgl ];
};
}