mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
755b915a15
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/'
25 lines
540 B
Nix
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";
|
|
};
|
|
|
|
}
|