AtlatestRepositorysigil-oauth

sigil-oauth / treepackage.sgl

1;;; sigil-oauth - OAuth 2.0 client library for Sigil
2;;;
3;;; Shared OAuth2 implementation for authorization code flow,
4;;; token refresh, token storage, and local redirect handling.
5;;; Used by sigil-youtube, sigil-twitch, and other API clients.
6
7(package
8 name: "sigil-oauth"
9 version: "0.9.2"
10 sigil: "0.20"
11 description: "OAuth 2.0 client library for Sigil"
12 url: "https://codeberg.org/sigil/sigil-oauth"
13 license: "BSD-3-Clause"
14 authors: (list "David Wilson <[email protected]>")
16 configs: (list
17 (config
18 name: 'dev
19 output-dir: "build/dev"
20 debug?: #t
21 optimize: 0)
22 (config
23 name: 'release
24 output-dir: "build/release"
25 debug?: #f
26 optimize: 2))
28 dependencies: (list
29 (from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: ">=0.21")
30 (from-git url: "codeberg:sigil/sigil-http" version: "^0.18")
31 (from-git url: "codeberg:sigil/sigil-json" version: "^0.16")
32 (from-git url: "codeberg:sigil/sigil-r7rs" version: "^0.16")
33 (from-git url: "codeberg:sigil/sigil-log" version: "^0.17"))
35 dev-dependencies: (list
36 (from-git url: "codeberg:sigil/sigil" package: "sigil-test" version: ">=0.21")
37 (from-git url: "codeberg:sigil/sigil" package: "sigil-test-runner" version: ">=0.21"))
39 tasks: (list
40 (task
41 name: 'build
42 description: "Compile sigil-oauth modules"
43 steps: (list
44 (compile-sigil-modules sources: "src/**/*.sgl"
45 output-dir: (config-output-subdir "lib"))))))