1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/development/ocaml-modules/index/default.nix
Vincent Laporte 70126f0e4a
ocamlPackages.progress: 0.1.1 → 0.2.1
ocamlPackages.index: 1.4.0 → 1.4.1
2022-01-14 15:43:06 +01:00

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 ];
};
}