nixpkgs-suyu/pkgs/development/ocaml-modules/index/default.nix
Daniel Hines 204f7dc335
ocamlPackages.irmin: 2.6.0 -> 2.7.1 (#129434)
* ocamlPackages.irmin: 2.6.0 -> 2.7.1

https://github.com/mirage/irmin/releases/tag/2.7.1

* ocamlPackages.index: 1.3.1 -> 1.4.0

https://github.com/mirage/index/releases/tag/1.4.0

* ocamlPackages.repr: 0.3.0 -> 0.4.0

https://github.com/mirage/repr/releases/tag/0.4.0

Co-authored-by: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>
2021-07-15 09:52:14 +02:00

47 lines
929 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.0";
src = fetchurl {
url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
sha256 = "13xd858c50fs651p1y8x70323ff0gzbf6zgc0a25f6xh3rsmkn4c";
};
minimumOCamlVersion = "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 ];
};
}