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.1"
10 description: "OAuth 2.0 client library for Sigil"
11 url: "https://codeberg.org/sigil/sigil-oauth"
12 license: "BSD-3-Clause"
13 authors: (list "David Wilson <[email protected]>")
15 configs: (list
16 (config
17 name: 'dev
18 output-dir: "build/dev"
19 debug?: #t
20 optimize: 0)
21 (config
22 name: 'release
23 output-dir: "build/release"
24 debug?: #f
25 optimize: 2))
27 dependencies: (list
28 (from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.9.0")
29 (from-git url: "codeberg:sigil/sigil" package: "sigil-http" version: "^0.9.0")
30 (from-git url: "codeberg:sigil/sigil" package: "sigil-json" version: "^0.9.0")
31 (from-git url: "codeberg:sigil/sigil" package: "sigil-log" version: "^0.9.0"))
33 tasks: (list
34 (task
35 name: 'build
36 description: "Compile sigil-oauth modules"
37 steps: (list
38 (compile-sigil-modules sources: "src/**/*.sgl"
39 output-dir: (config-output-subdir "lib"))))))