2023-08-04 22:07:22 +00:00
|
|
|
{ buildDunePackage, trace, mtime }:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "trace-tef";
|
|
|
|
inherit (trace) src version;
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
# This removes the dependency on the “atomic” package
|
|
|
|
# (not available in nixpkgs)
|
|
|
|
# Said package for OCaml ≥ 4.12 is empty
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/tef/dune --replace 'atomic ' ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.12";
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
propagatedBuildInputs = [ mtime trace ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = trace.meta // {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple backend for trace, emitting Catapult JSON into a file";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|