ocamlPackages.{trace,trace-tef}: init at 0.2
This commit is contained in:
parent
14651559b5
commit
491a3d732f
3 changed files with 40 additions and 0 deletions
21
pkgs/development/ocaml-modules/trace/default.nix
Normal file
21
pkgs/development/ocaml-modules/trace/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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
pkgs/development/ocaml-modules/trace/tef.nix
Normal file
15
pkgs/development/ocaml-modules/trace/tef.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ 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";
|
||||
};
|
||||
|
||||
}
|
|
@ -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…
Reference in a new issue