2022-10-21 18:38:19 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, irmin, irmin-pack, ppx_irmin, digestif, cmdliner, fmt, yojson, tezos-base58
|
|
|
|
, alcotest, hex, irmin-test, fpath
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "irmin-tezos";
|
|
|
|
|
|
|
|
inherit (irmin) version src strictDeps;
|
2023-02-09 11:40:11 +00:00
|
|
|
duneVersion = "3";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-02-09 11:40:11 +00:00
|
|
|
irmin
|
|
|
|
irmin-pack
|
|
|
|
ppx_irmin
|
|
|
|
digestif
|
|
|
|
fmt
|
|
|
|
tezos-base58
|
2022-10-21 18:38:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-02-09 11:40:11 +00:00
|
|
|
cmdliner
|
|
|
|
yojson
|
2022-10-21 18:38:19 +00:00
|
|
|
];
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ alcotest hex irmin-test fpath ];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = irmin.meta // {
|
|
|
|
description = "Irmin implementation of the Tezos context hash specification";
|
|
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
|
|
};
|
|
|
|
}
|