about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/irmin/tezos.nix
blob: ddfc0d073205c826a2fd10628c5b5626f4112380 (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
{ 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;
  duneVersion = "3";

  propagatedBuildInputs = [
    irmin
    irmin-pack
    ppx_irmin
    digestif
    fmt
    tezos-base58
  ];

  buildInputs = [
    cmdliner
    yojson
  ];

  checkInputs = [ alcotest hex irmin-test fpath ];

  doCheck = true;

  meta = irmin.meta // {
    description = "Irmin implementation of the Tezos context hash specification";
    maintainers = [ lib.maintainers.ulrikstrid ];
  };
}