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