about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/tezos/error-monad.nix
blob: cbebf1e51c638404df7dbfbb736f50d724e73ce2 (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
{ lib
, buildDunePackage
, tezos-stdlib
, data-encoding
, lwt
, lwt-canceler
, tezos-lwt-result-stdlib
, alcotest
, alcotest-lwt
}:

buildDunePackage {
  pname = "tezos-error-monad";
  inherit (tezos-stdlib) version useDune2;
  src = "${tezos-stdlib.base_src}/src/lib_error_monad";

  propagatedBuildInputs = [
    tezos-stdlib
    data-encoding
    lwt
    lwt-canceler
    tezos-lwt-result-stdlib
  ];

  checkInputs = [
    alcotest
    alcotest-lwt
  ];

  doCheck = true;

  meta = tezos-stdlib.meta // {
    description = "Tezos: error monad";
  };
}