2021-07-24 12:14:16 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, tezos-stdlib
|
|
|
|
, tezos-event-logging
|
2021-10-14 00:43:12 +00:00
|
|
|
, re
|
2021-07-24 12:14:16 +00:00
|
|
|
, ptime
|
|
|
|
, mtime
|
|
|
|
, ipaddr
|
2021-10-14 00:43:12 +00:00
|
|
|
, ezjsonm
|
|
|
|
, fmt
|
2021-07-24 12:14:16 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "tezos-stdlib-unix";
|
2021-10-14 00:43:12 +00:00
|
|
|
inherit (tezos-stdlib) version useDune2;
|
|
|
|
src = "${tezos-stdlib.base_src}/src/lib_stdlib_unix";
|
2021-07-24 12:14:16 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
tezos-event-logging
|
2021-10-14 00:43:12 +00:00
|
|
|
re
|
2021-07-24 12:14:16 +00:00
|
|
|
ptime
|
|
|
|
mtime
|
|
|
|
ipaddr
|
2021-10-14 00:43:12 +00:00
|
|
|
ezjsonm
|
|
|
|
fmt
|
2021-07-24 12:14:16 +00:00
|
|
|
];
|
|
|
|
|
2021-10-14 00:43:12 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2021-07-24 12:14:16 +00:00
|
|
|
meta = tezos-stdlib.meta // {
|
|
|
|
description = "Tezos: yet-another local-extension of the OCaml standard library (unix-specific fragment)";
|
|
|
|
};
|
|
|
|
}
|