nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildDunePackage,
3 trace,
4 mtime,
5}:
6
7buildDunePackage {
8 pname = "trace-tef";
9 inherit (trace) src version;
10
11 # This removes the dependency on the “atomic” package
12 # (not available in nixpkgs)
13 # Said package for OCaml ≥ 4.12 is empty
14 postPatch = ''
15 substituteInPlace src/tef/dune --replace 'atomic ' ""
16 '';
17
18 minimalOCamlVersion = "4.12";
19
20 propagatedBuildInputs = [
21 mtime
22 trace
23 ];
24
25 doCheck = true;
26
27 meta = trace.meta // {
28 description = "Simple backend for trace, emitting Catapult JSON into a file";
29 };
30
31}