2021-02-16 17:04:54 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, git, irmin, irmin-test, ppx_irmin, git-cohttp-unix, git-unix
|
|
|
|
, digestif, cstruct, fmt, astring, fpath, logs, lwt, uri
|
2021-05-20 23:08:51 +00:00
|
|
|
, mtime, alcotest, cacert
|
2021-02-16 17:04:54 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
buildDunePackage {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pname = "irmin-git";
|
|
|
|
|
|
|
|
inherit (irmin) version src;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
git
|
|
|
|
irmin
|
|
|
|
ppx_irmin
|
|
|
|
digestif
|
|
|
|
cstruct
|
|
|
|
fmt
|
|
|
|
astring
|
|
|
|
fpath
|
|
|
|
logs
|
|
|
|
lwt
|
|
|
|
uri
|
|
|
|
];
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
checkInputs = [ mtime alcotest git-cohttp-unix git-unix irmin-test cacert ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Git backend for Irmin";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|