about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/irmin/git.nix
blob: c489281591304b0d0d63cd5ee58a761901720e0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib, buildDunePackage
, git, irmin, ppx_irmin, git-unix, irmin-watcher
, digestif, cstruct, fmt, astring, fpath, logs, lwt, uri
, cohttp-lwt-unix, mimic
, irmin-test, mtime, alcotest, cacert
}:

buildDunePackage {

  pname = "irmin-git";

  inherit (irmin) version src strictDeps;
  duneVersion = "3";

  propagatedBuildInputs = [
    git
    irmin
    ppx_irmin
    digestif
    cstruct
    fmt
    astring
    fpath
    logs
    lwt
    uri
    irmin-watcher
    git-unix
    mimic
    cohttp-lwt-unix
  ];

  checkInputs = [ mtime alcotest irmin-test cacert ];

  doCheck = true;

  meta = irmin.meta // {
    description = "Git backend for Irmin";
  };

}