summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ziltener <dziltener@lyrion.ch>2025-04-09 02:14:56 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:33 +0100
commit7aa01ccc8ae09f6c825d4b15b5eb7ff741b917c9 (patch)
treeebf2b316ed3bc193352d6c83e072dba14a3d4817
parent391f2c728ae9dbe181ad5eaeb58bd92b6113fc46 (diff)
gnu: go-git-sr-ht-emersion-go-scfg: Update to 0.1.0.
*gnu/packages/golang-xyz.scm (go-git-sr-ht-emersion-go-scfg): Update to 0.1.0. Rename to go-codeberg-org-emersion-go-scfg to reflect new import path. * gnu/packages/irc.scm (soju) [native-inputs]: Remove go-git-sr-ht-emersion-go-scfg; add go-codeberg-org-emersion-go-scfg. * gnu/packages/messaging.scm (senpai): Likewise. * gnu/packages/version-control.scm (hut) [source] <snippet>: Fix import-name for go-codeberg-org-emersion-go-scfg. [native-inputs]: Remove go-git-sr-ht-emersion-go-scfg; add go-codeberg-org-emersion-go-scfg. Change-Id: Ide0e5d2d5463991add1d2d99f57298f800535173 Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm16
-rw-r--r--gnu/packages/irc.scm3
-rw-r--r--gnu/packages/messaging.scm2
-rw-r--r--gnu/packages/version-control.scm13
4 files changed, 21 insertions, 13 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index aedbe97864..3eeacd1c8d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -380,25 +380,25 @@ recursively any exported one. It also won't merge structs inside
maps (because they are not addressable using Go reflection).")
(license license:bsd-3)))
-(define-public go-git-sr-ht-emersion-go-scfg
+(define-public go-codeberg-org-emersion-go-scfg
(package
- (name "go-git-sr-ht-emersion-go-scfg")
- (version "0.0.0-20240128091534-2ae16e782082")
+ (name "go-codeberg-org-emersion-go-scfg")
+ (version "0.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://git.sr.ht/~emersion/go-scfg")
- (commit (go-version->git-ref version))))
+ (url "https://codeberg.org/emersion/go-scfg")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1gxhg40q4md3lj1wrrnms0jhyqsxhx2hcv6sm5yjbbqana5x26mx"))))
+ (base32 "0yw35rf6cxk5cwzf9y4qd0rlcryq1pxr9n34q6620i9djhgskwq2"))))
(build-system go-build-system)
(arguments
- (list #:import-path "git.sr.ht/~emersion/go-scfg"))
+ (list #:import-path "codeberg.org/emersion/go-scfg"))
(propagated-inputs
(list go-github-com-davecgh-go-spew))
- (home-page "https://git.sr.ht/~emersion/go-scfg")
+ (home-page "https://codeberg.org/emersion/go-scfg")
(synopsis "Go library for simple configuration file format")
(description
"Package go-scfg parses scfg files.")
diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 9e47bca87c..c8dfdfe1ad 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -1263,7 +1263,7 @@ seen, tell, and what.")
(setenv "PREFIX" #$output)
(invoke "make" "install")))))))
(native-inputs
- (list go-git-sr-ht-emersion-go-scfg
+ (list go-codeberg-org-emersion-go-scfg
go-git-sr-ht-emersion-go-sqlite3-fts5
go-git-sr-ht-sircmpwn-go-bare
go-github-com-coder-websocket
@@ -1288,4 +1288,3 @@ such as multiple users, numerous @@url{https://ircv3.net/,IRCv3} extensions,
chat history playback and detached channels. It is well-suited for both small
and large deployments.")
(license license:agpl3)))
-
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 3ab6978690..cdb1322e82 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3747,7 +3747,7 @@ a text snippet), using @code{libphonenumber}.")
(string-append "src/" unpack-path "/doc/senpai.5")
man5)))))))
(native-inputs
- (list go-git-sr-ht-emersion-go-scfg
+ (list go-codeberg-org-emersion-go-scfg
go-github-com-delthas-go-libnp
go-github-com-delthas-go-localeinfo
go-github-com-delthas-tcell-v2 ; remove in the next release
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 8021fd0f58..f0a0e73eb0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -4743,7 +4743,16 @@ developer workflow, and project and release management.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "14cia976i2jdzyzw4wk9fhkh6zqgmb09ryf31ys24smmfcdfxyf1"))))
+ (base32 "14cia976i2jdzyzw4wk9fhkh6zqgmb09ryf31ys24smmfcdfxyf1"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ ;; XXX: Module name has been changed upstream, it's already
+ ;; adjusted on master, consider to remove in the next refresh
+ ;; cycle.
+ (substitute* (find-files "." "\\.go$")
+ (("git.sr.ht/~emersion/go-scfg")
+ "codeberg.org/emersion/go-scfg"))))))
(build-system go-build-system)
(arguments
(list
@@ -4764,7 +4773,7 @@ developer workflow, and project and release management.")
(native-inputs
(list scdoc))
(inputs
- (list go-git-sr-ht-emersion-go-scfg
+ (list go-codeberg-org-emersion-go-scfg
go-git-sr-ht-emersion-gqlclient
go-github-com-dustin-go-humanize
go-github-com-google-shlex