mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
70126f0e4a
ocamlPackages.index: 1.4.0 → 1.4.1
48 lines
936 B
Nix
48 lines
936 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, repr, ppx_repr, fmt, logs, mtime, stdlib-shims
|
|
, cmdliner, progress, semaphore-compat, optint
|
|
, alcotest, crowbar, re
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "index";
|
|
version = "1.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
|
|
sha256 = "sha256:01i24m1xh7vn44sq7gsxg1z0jxa6rg80bpjcp3cvg6zfjpsl7sfx";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
useDune2 = true;
|
|
|
|
buildInputs = [
|
|
stdlib-shims
|
|
];
|
|
propagatedBuildInputs = [
|
|
cmdliner
|
|
fmt
|
|
logs
|
|
mtime
|
|
ppx_repr
|
|
progress
|
|
repr
|
|
semaphore-compat
|
|
optint
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|