Commit6695d3a2Recorded29 Mar 2026Repositorysigil-telegram

Convert to standalone package

Message

Replace from-workspace dependencies with from-git pointing to codeberg:sigil/sigil. Add dev-redirects.sgl for local development, build configs, and .gitignore.

Changed
 .gitignore        |  1 +
 dev-redirects.sgl |  6 ++++++
 package.sgl       | 34 ++++++++++++++++++++++++++++------
 3 files changed, 35 insertions(+), 6 deletions(-)
Diff
.gitignoreadded
@@ -0,0 +1 @@
+1
build/
dev-redirects.sgladded
@@ -0,0 +1,6 @@
+1
;; Development redirects — point dependencies at local checkouts
+2
(redirects
+3
repos: (list
+4
(for-repo
+5
url: "codeberg:sigil/sigil"
+6
use: (from-path dir: "../sigil"))))
package.sglmodified
@@ -4,17 +4,39 @@
4
;;; command/message handlers, chat authorization, MarkdownV2 formatting,
5
;;; and media sending with file upload support.
6
+7
(define sigil-repo "codeberg:sigil/sigil")
+8
9
(package
10
name: "sigil-telegram"
11
version: "0.7.0"
12
description: "Telegram Bot API client library"
11
url: "https://codeberg.org/sigil/sigil"
+13
url: "https://codeberg.org/sigil/sigil-telegram"
14
license: "BSD-3-Clause"
15
authors: (list "David Wilson <[email protected]>")
16
+17
configs: (list
+18
(config
+19
name: 'dev
+20
output-dir: "build/dev"
+21
debug?: #t
+22
optimize: 0)
+23
(config
+24
name: 'release
+25
output-dir: "build/release"
+26
debug?: #f
+27
optimize: 2))
+28
29
dependencies: (list
16
(from-workspace name: "sigil-stdlib")
17
(from-workspace name: "sigil-json")
18
(from-workspace name: "sigil-http")
19
(from-workspace name: "sigil-tls")
20
(from-workspace name: "sigil-crypto")))
+30
(from-git url: sigil-repo package: "sigil-stdlib")
+31
(from-git url: sigil-repo package: "sigil-json")
+32
(from-git url: sigil-repo package: "sigil-http")
+33
(from-git url: sigil-repo package: "sigil-tls")
+34
(from-git url: sigil-repo package: "sigil-crypto"))
+35
+36
tasks: (list
+37
(task
+38
name: 'build
+39
description: "Compile sigil-telegram modules"
+40
steps: (list
+41
(compile-sigil-modules sources: "src/**/*.sgl"
+42
output-dir: (config-output-subdir "lib"))))))