2021-07-07 11:34:04 +02:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, tezos-error-monad
|
|
|
|
, uutf
|
|
|
|
, alcotest
|
|
|
|
, alcotest-lwt
|
|
|
|
, ppx_inline_test
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-micheline";
|
2021-09-21 10:47:59 +02:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_micheline";
|
2021-07-07 11:34:04 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-error-monad
|
|
|
|
uutf
|
2021-09-21 10:47:59 +02:00
|
|
|
ppx_inline_test
|
2021-07-07 11:34:04 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
alcotest
|
|
|
|
alcotest-lwt
|
|
|
|
];
|
|
|
|
|
2021-09-21 10:47:59 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-07 11:34:04 +02:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: internal AST and parser for the Michelson language";
|
|
|
|
};
|
|
|
|
}
|