summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/trace/default.nix
blob: e1122f9320c49a3df492ae1a81fb9c911b6481b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  lib,
  fetchFromGitHub,
  buildDunePackage,
}:

buildDunePackage (finalAttrs: {
  pname = "trace";
  version = "0.12";

  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "ocaml-tracing";
    repo = "ocaml-trace";
    tag = "v${finalAttrs.version}";
    hash = "sha256-9XWimCLsBpLZ0TtPzWYs4t8cEx/okRzKw4xNwCS0tfc=";
  };

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