Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / index / default.nix
blobebc0507875558d0451ce8fdf0b657d1a6968ce70
1 { lib, fetchurl, buildDunePackage
2 , repr, ppx_repr, fmt, logs, mtime, stdlib-shims
3 , cmdliner, progress, semaphore-compat, optint
4 , alcotest, crowbar, re, lru
5 }:
7 buildDunePackage rec {
8   pname = "index";
9   version = "1.6.1";
11   src = fetchurl {
12     url = "https://github.com/mirage/index/releases/download/${version}/index-${version}.tbz";
13     hash = "sha256-rPwNzqkWqDak2mDTDIBqIvachY1vfOIzFmwaXjZea+4=";
14   };
16   minimalOCamlVersion = "4.08";
17   duneVersion = "3";
19   buildInputs = [
20     stdlib-shims
21   ];
22   propagatedBuildInputs = [
23     cmdliner
24     fmt
25     logs
26     mtime
27     ppx_repr
28     progress
29     repr
30     semaphore-compat
31     optint
32     lru
33   ];
35   checkInputs = [
36     alcotest
37     crowbar
38     re
39   ];
40   doCheck = true;
42   meta = with lib; {
43     description = "A platform-agnostic multi-level index";
44     homepage = "https://github.com/mirage/index";
45     license = licenses.mit;
46     maintainers = with maintainers; [ vbgl ];
47   };