summaryrefslogtreecommitdiff
path: root/gnu/packages/irc.scm
diff options
context:
space:
mode:
authorCarlos Durán Domínguez <wurt@wurt.eu>2026-02-16 23:23:50 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-25 14:40:19 +0000
commit9db3cdb514ca919dfa1fd46733e957ef549d79ca (patch)
tree5a23f2743acdb39363e904429009dbfb27c78144 /gnu/packages/irc.scm
parentf27cd992f381b01de0ca1b9b8b3be692f03c7669 (diff)
gnu: soju: Update to 0.10.1.
* gnu/packages/irc.scm (soju): Update to 0.10.1. [arguments]: <#:test-flags>: Drop them. <#:build-flags>: Move flags from build and install phases, and add enable SQLite3 support. <#:phases>: (build, install): remove setting environment flags and use build-flags argument. [native-inputs]: Reindent. Replace go-git-sr-ht-emersion-go-sqlite3-fts5 for go-codeberg-org-emersion-go-sqlite-fts5. Add g-modernc-org-sqlite and sqlite. Change-Id: I663b1342e75e262d81541622850e775426d88f7e Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/irc.scm')
-rw-r--r--gnu/packages/irc.scm28
1 files changed, 15 insertions, 13 deletions
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index fe30100e788..dc163c49ca7 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -1199,7 +1199,7 @@ seen, tell, and what.")
(define-public soju
(package
(name "soju")
- (version "0.9.0")
+ (version "0.10.1")
(source
(origin
(method git-fetch)
@@ -1208,12 +1208,16 @@ seen, tell, and what.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "09d4h2rchhccrh6qhgqwbv0s1vsfzkmbv3j9f3ayaf9a9ml97d59"))))
+ (base32 "1hl6djraalpyn6dkf748g2564lbz1lrp8nqddnyjdy3bah87prch"))))
(build-system go-build-system)
(arguments
(list
#:install-source? #f
#:import-path "codeberg.org/emersion/soju"
+ #:build-flags
+ #~(list "GOFLAGS=-v -x -trimpath -tags=pam -tags=libsqlite3"
+ (string-append "SYSCONFDIR=" (string-append #$output "/etc"))
+ (string-append "PREFIX=" #$output))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'adjust-makefile
@@ -1227,22 +1231,17 @@ seen, tell, and what.")
;; Prevent creating /var/lib/soju.
((".*sharedstatedir.*") "")))))
(replace 'build
- (lambda* (#:key import-path #:allow-other-keys)
+ (lambda* (#:key import-path build-flags #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
- (setenv "GOFLAGS" "-v -x -trimpath -tags=pam")
- (setenv "SYSCONFDIR" (string-append #$output "/etc"))
- (invoke "make"))))
+ (apply invoke "make" build-flags))))
(replace 'install
- (lambda* (#:key import-path #:allow-other-keys)
+ (lambda* (#:key import-path build-flags #:allow-other-keys)
(with-directory-excursion (string-append "src/" import-path)
- (setenv "PREFIX" #$output)
- (invoke "make" "install")))))
- #:test-flags #~(list "-vet=off")))
+ (apply invoke "make" "install" build-flags)))))))
(native-inputs
(list go-codeberg-org-emersion-go-scfg
- go-git-sr-ht-emersion-go-sqlite3-fts5
+ go-codeberg-org-emersion-go-sqlite-fts5
go-git-sr-ht-sircmpwn-go-bare
- go-github-com-sherclockholmes-webpush-go
go-github-com-coder-websocket
go-github-com-emersion-go-sasl
go-github-com-lib-pq
@@ -1250,10 +1249,13 @@ seen, tell, and what.")
go-github-com-msteinert-pam-v2
go-github-com-pires-go-proxyproto
go-github-com-prometheus-client-golang
+ go-github-com-sherclockholmes-webpush-go
go-golang-org-x-crypto
go-golang-org-x-time
go-gopkg-in-irc-v4
- scdoc))
+ go-modernc-org-sqlite
+ scdoc
+ sqlite))
(home-page "https://soju.im/")
(synopsis "User-friendly IRC bouncer")
(description