forked from mirrors/nixpkgs
2db064d028
ocamlPackages.lwt-canceler: 0.2 -> 0.3 ocamlPackages.json-data-encoding: 0.8 -> 0.10 ocamlPackages.data-encoding: 0.2.0 -> 0.4.0 ocamlPackages.ff-sig, ff-pbt: init at 0.6.1 ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2 Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
36 lines
557 B
Nix
36 lines
557 B
Nix
{ 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";
|
|
};
|
|
}
|