push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
lib,
fetchurl,
buildDunePackage,
}:
buildDunePackage rec {
pname = "trace";
version = "0.5";
minimalOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/c-cube/ocaml-trace/releases/download/v${version}/trace-${version}.tbz";
hash = "sha256-l0NvWPGBd1WR+b50WXEYfptuCUjda8MlZ/o5YngRNIg=";
};
meta = {
description = "Common interface for tracing/instrumentation libraries in OCaml";
license = lib.licenses.mit;
homepage = "https://c-cube.github.io/ocaml-trace/";
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@@ -0,0 +1,31 @@
{
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";
};
}