A repository of opam repositories, for use by oi
1opam-version: "2.0"
2synopsis:
3 "Google API authentication helpers: service accounts and local OAuth"
4description: """\
5Authentication helpers for Google APIs (Docs, Sheets, Drive, Calendar,
6 Gmail, ...). Supports two flows: (1) service-account JWT bearer per
7 RFC 7523 using a service-account JSON key, and (2) interactive local
8 OAuth for CLIs with a localhost callback listener. Produces lifecycle-
9 managed Oauth.Token.t values ready for use with Requests."""
10maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
11authors: "Thomas Gazagnaire <thomas@gazagnaire.org>"
12license: "MIT"
13tags: ["org:blacksun" "google" "network" "http" "crypto"]
14homepage: "https://tangled.org/gazagnaire.org/ocaml-gauth"
15bug-reports: "https://tangled.org/gazagnaire.org/ocaml-gauth/issues"
16depends: [
17 "ocaml" {>= "5.1"}
18 "dune" {>= "3.21" & >= "3.21"}
19 "digestif" {>= "1.0"}
20 "eio" {>= "1.0"}
21 "fmt" {>= "0.9"}
22 "nox-json" {>= "0.2"}
23 "nox-jwt" {>= "0.1"}
24 "logs" {>= "0.7"}
25 "oauth" {>= "0.1"}
26 "requests" {>= "0.1"}
27 "uri" {>= "4.0"}
28 "nox-x509" {>= "1.0"}
29 "nox-xdg" {>= "0.1"}
30 "nox-http"
31 "alcotest" {with-test}
32 "nox-crypto-rng" {with-test}
33 "eio_main" {with-test}
34 "odoc" {with-doc}
35 "nox-crypto-pk"
36 "mdx" {with-test}
37]
38build: [
39 ["dune" "subst"] {dev}
40 [
41 "dune"
42 "build"
43 "-p"
44 name
45 "-j"
46 jobs
47 "@install"
48 "@runtest" {with-test}
49 "@doc" {with-doc}
50 ]
51]
52dev-repo: "git+https://tangled.org/gazagnaire.org/ocaml-gauth"
53url {
54 src:
55 "git+https://tangled.org/gazagnaire.org/ocaml-gauth#dc20d16cdb02bfa99fd7a9f79cc5cdafedd21b3a"
56}
57x-d10-archive:
58 "524e86492afd1f1d9ad66d207077e1bc30e7abcb217513c8325138a2507b9a3b"
59x-maintenance-intent: ["(latest)"]
60x-oi-source-url: "git+https://tangled.org/gazagnaire.org/ocaml-gauth#main"
61x-quality-build: "2026-04-16"
62x-quality-test: "2026-04-16"