Loading pkgs/development/ocaml-modules/trace/default.nix 0 → 100644 +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 ]; }; } pkgs/development/ocaml-modules/trace/tef.nix 0 → 100644 +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"; }; } pkgs/top-level/ocaml-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
pkgs/development/ocaml-modules/trace/default.nix 0 → 100644 +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 ]; }; }
pkgs/development/ocaml-modules/trace/tef.nix 0 → 100644 +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"; }; }
pkgs/top-level/ocaml-packages.nix +4 −0 Original line number Diff line number Diff line Loading @@ -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 { Loading