chore: opam file

This commit is contained in:
Simon Cruanes 2025-11-21 22:21:37 -05:00
parent 372cc6ff7e
commit 8184c52086
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 55 additions and 0 deletions

View file

@ -94,4 +94,23 @@
(tags
(trace tracing fuchsia)))
(package
(name trace-usdt)
(synopsis "A trace backend using USDT probes, activated at runtime")
(depends
(ocaml
(>= 4.08))
(trace
(= :version))
(mtime
(>= 2.0))
ocaml_usdt
(yojson
(and
(>= 2.0)
(< 3.0)))
dune)
(tags
(trace tracing usdt)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project

36
trace-usdt.opam Normal file
View file

@ -0,0 +1,36 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.10"
synopsis: "A trace backend using USDT probes, activated at runtime"
maintainer: ["Simon Cruanes"]
authors: ["Simon Cruanes"]
license: "MIT"
tags: ["trace" "tracing" "usdt"]
homepage: "https://github.com/c-cube/ocaml-trace"
bug-reports: "https://github.com/c-cube/ocaml-trace/issues"
depends: [
"ocaml" {>= "4.08"}
"trace" {= version}
"mtime" {>= "2.0"}
"ocaml_usdt"
"yojson" {>= "2.0" & < "3.0"}
"dune" {>= "2.9"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/c-cube/ocaml-trace.git"