Commit 491a3d73 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.{trace,trace-tef}: init at 0.2

parent 14651559
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
{ lib, fetchurl, buildDunePackage }:

buildDunePackage rec {
  pname = "trace";
  version = "0.2";

  minimalOCamlVersion = "4.05";

  src = fetchurl {
    url = "https://github.com/c-cube/trace/releases/download/v${version}/trace-${version}.tbz";
    hash = "sha256-iScnZxjgzDqZFxbDDXB0K4TkdDJDcrMC03sK/ltbqJQ=";
  };

  meta = {
    description = "Common interface for tracing/instrumentation libraries in OCaml";
    license = lib.licenses.mit;
    homepage = "https://c-cube.github.io/trace/";
    maintainers = [ lib.maintainers.vbgl ];
  };

}
+15 −0
Original line number Diff line number Diff line
{ buildDunePackage, trace, mtime }:

buildDunePackage {
  pname = "trace-tef";
  inherit (trace) src version;

  propagatedBuildInputs = [ mtime trace ];

  doCheck = true;

  meta = trace.meta // {
    description = "A simple backend for trace, emitting Catapult JSON into a file";
  };

}
+4 −0
Original line number Diff line number Diff line
@@ -1643,6 +1643,10 @@ let
      inherit (pkgs.python3Packages) torch;
    };

    trace = callPackage ../development/ocaml-modules/trace { };

    trace-tef = callPackage ../development/ocaml-modules/trace/tef.nix { };

    trie = callPackage ../development/ocaml-modules/trie { };

    tsdl = callPackage ../development/ocaml-modules/tsdl {