2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, tezos-crypto
|
2021-10-14 00:43:12 +00:00
|
|
|
, tezos-hacl-glue-unix
|
2021-07-24 12:14:16 +00:00
|
|
|
, tezos-micheline
|
2021-10-14 00:43:12 +00:00
|
|
|
, tezos-test-helpers
|
2021-07-24 12:14:16 +00:00
|
|
|
, ptime
|
|
|
|
, ipaddr
|
2021-10-14 00:43:12 +00:00
|
|
|
, bls12-381-unix
|
2021-07-24 12:14:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-base";
|
2021-10-14 00:43:12 +00:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_base";
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-crypto
|
|
|
|
tezos-micheline
|
2021-10-14 00:43:12 +00:00
|
|
|
tezos-hacl-glue-unix
|
|
|
|
bls12-381-unix
|
2021-07-24 12:14:16 +00:00
|
|
|
ptime
|
|
|
|
ipaddr
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-10-14 00:43:12 +00:00
|
|
|
# tezos-test-helpers
|
2021-07-24 12:14:16 +00:00
|
|
|
];
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
# circular dependency if we add this
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: meta-package and pervasive type definitions for Tezos";
|
|
|
|
};
|
|
|
|
}
|