Commit43baa2f3Recorded29 Mar 2026Repositorysigil-jmap
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 | 30 ++++++++++++++++++++++++++----
3 files changed, 33 insertions(+), 4 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
@@ -3,15 +3,37 @@
3
;;; Provides a JMAP (RFC 8620/8621) client for interacting with 4
;;; email servers like Fastmail, Stalwart, Cyrus, and Apache James. 5
+6
(define sigil-repo "codeberg:sigil/sigil")+7
8
(package 9
name: "sigil-jmap" 10
version: "0.7.0" 11
description: "JMAP email client library for Sigil"−10
url: "https://codeberg.org/sigil/sigil"+12
url: "https://codeberg.org/sigil/sigil-jmap" 13
license: "BSD-3-Clause" 14
authors: (list "David Wilson <[email protected]>") 15
+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))+27
28
dependencies: (list−15
(from-workspace name: "sigil-stdlib")−16
(from-workspace name: "sigil-json")−17
(from-workspace name: "sigil-http")))+29
(from-git url: sigil-repo package: "sigil-stdlib")+30
(from-git url: sigil-repo package: "sigil-json")+31
(from-git url: sigil-repo package: "sigil-http"))+32
+33
tasks: (list+34
(task+35
name: 'build+36
description: "Compile sigil-jmap modules"+37
steps: (list+38
(compile-sigil-modules sources: "src/**/*.sgl"+39
output-dir: (config-output-subdir "lib"))))))