nixpkgs/pkgs/development/ocaml-modules/trace/tef.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
540 B
Nix

{ buildDunePackage, trace, mtime }:
buildDunePackage {
pname = "trace-tef";
inherit (trace) src version;
# 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";
propagatedBuildInputs = [ mtime trace ];
doCheck = true;
meta = trace.meta // {
description = "Simple backend for trace, emitting Catapult JSON into a file";
};
}