-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
58 lines (55 loc) · 1.93 KB
/
opam
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/hannesm/logs-syslog"
doc: "https://hannesm.github.io/logs-syslog/doc"
dev-repo: "git+https://github.com/hannesm/logs-syslog.git"
bug-reports: "https://github.com/hannesm/logs-syslog/issues"
license: "ISC"
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"logs"
"ptime"
"syslog-message" {= "0.0.2"}
"result"
]
depopts: [
"lwt" "x509" "tls" "mirage-types" "cstruct" "ipaddr" "io-page"
]
conflicts: [
"lwt" {>= "4.0.0"}
"mirage-types" {>= "3.0.0"}
"x509" {>= "0.7.0"}
"tls" {>= "0.16.0"}
]
build: [
[ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"
"--with-lwt" "%{lwt:installed}%"
"--with-mirage" "%{mirage-types+lwt+cstruct+ipaddr+io-page:installed}%"
"--with-tls" "%{x509+tls+cstruct:installed}%" ]
]
synopsis: "Logs output via syslog"
description: """
This library provides log reporters over syslog with various effectful layers:
Unix, Lwt, MirageOS. It integrated the
[Logs](http://erratique.ch/software/logs) library, which provides logging
infrastructure for OCaml, with the
[syslog-message](http://verbosemo.de/syslog-message/) library, which provides
encoding and decoding of syslog messages ([RFC
3164](https://tools.ietf.org/html/rfc3164)).
Six ocamlfind libraries are provided: the bare `Logs-syslog`, a minimal
dependency Unix `Logs-syslog-unix`, a Lwt one `Logs-syslog-lwt`, another one
with Lwt and TLS ([RFC 5425](https://tools.ietf.org/html/rfc5425)) support
`Logs-syslog-lwt-tls`, a MirageOS one `Logs-syslog-mirage`, and a MirageOS one
using TLS `Logs-syslog-mirage-tls`."""
url {
src:
"https://github.com/hannesm/logs-syslog/releases/download/0.0.2/logs-syslog-0.0.2.tbz"
checksum: [
"sha256=7b6e4574d16a6d8f6818b84a21a8ad20d95a8ddee17f1b6ca9d21935e946a65c"
"md5=44e53e4d5e033a179e524fabaeccb01a"
]
}