mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
gnu: senpai: Update to 0.4.0.
A note from upstream: This project has migrated to sr.ht/~delthas. gnu/packages/messaging.scm (senpai): Update to 0.4.0. [arguments]: Adjust <import-path> and <unpack-path> to follow updated go.mod. [native-inputs]: Remove go-github-com-delthas-tcell-v2 and go-github-com-mattn-go-runewidth; add go-git-sr-ht-rockorager-vaxis, go-github-com-containerd-console, go-github-com-disintegration-imaging, go-github-com-godbus-dbus-v5, go-github-com-rivo-uniseg, and go-github-com-mattn-go-runewidth. * gnu/packages/golang-xyz.scm (go-github-com-delthas-tcell-v2): Delete variable. Change-Id: I7d832366ba3e69655eb290f87d164a4f0ff5f11e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> gnu: Remove go-github-com-delthas-tcell-v2.
This commit is contained in:
parent
b0c3233c88
commit
ed89af9458
2 changed files with 14 additions and 30 deletions
|
@ -5993,27 +5993,6 @@ also favors portability, and includes support for all POSIX systems.")
|
||||||
(modify-inputs (package-inputs go-github-com-gdamore-tcell)
|
(modify-inputs (package-inputs go-github-com-gdamore-tcell)
|
||||||
(prepend go-golang-org-x-term go-golang-org-x-sys)))))
|
(prepend go-golang-org-x-term go-golang-org-x-sys)))))
|
||||||
|
|
||||||
(define-public go-github-com-delthas-tcell-v2
|
|
||||||
;; TODO This variant allows upgrading senpai, and looks to be unnecessary in
|
|
||||||
;; the next release of senpai
|
|
||||||
(hidden-package
|
|
||||||
(package
|
|
||||||
(inherit go-github-com-gdamore-tcell)
|
|
||||||
(name "go-github-com-delthas-tcell")
|
|
||||||
(version "2.4.1")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url "https://github.com/delthas/tcell")
|
|
||||||
(commit "837a7d7")))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
|
||||||
(base32 "05zr73q38dawl7hr6g7v4pkyv6mqr0zp2l9qsgn7xmf1p9q4bn7j"))))
|
|
||||||
(propagated-inputs
|
|
||||||
(modify-inputs (package-inputs go-github-com-gdamore-tcell)
|
|
||||||
(prepend go-golang-org-x-term go-golang-org-x-sys))))))
|
|
||||||
|
|
||||||
(define-public go-github-com-gdey-errors
|
(define-public go-github-com-gdey-errors
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-gdey-errors")
|
(name "go-github-com-gdey-errors")
|
||||||
|
|
|
@ -3710,7 +3710,7 @@ a text snippet), using @code{libphonenumber}.")
|
||||||
(define-public senpai
|
(define-public senpai
|
||||||
(package
|
(package
|
||||||
(name "senpai")
|
(name "senpai")
|
||||||
(version "0.3.0")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -3720,24 +3720,25 @@ a text snippet), using @code{libphonenumber}.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0l43qfjr0ggpv1hkyyfxp3j6acrbbrl8n6qxlh91gyb2jan03683"))))
|
(base32 "0hzrkzsi7c3nrarrd09b8cs31r6vdnmjcw3clj7mjm4cp7xp4dfw"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
|
(list #:import-path "git.sr.ht/~delthas/senpai/cmd/senpai"
|
||||||
#:unpack-path "git.sr.ht/~taiite/senpai"
|
#:unpack-path "git.sr.ht/~delthas/senpai"
|
||||||
#:install-source? #f
|
#:install-source? #f
|
||||||
;; Step away from cmd/senpai to test the whole project.
|
;; Step away from cmd/senpai to test the whole project.
|
||||||
#:test-subdirs #~(list "../../...")
|
#:test-subdirs #~(list "../../...")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases
|
||||||
|
%standard-phases
|
||||||
(add-after 'build 'build-doc
|
(add-after 'build 'build-doc
|
||||||
(lambda* (#:key unpack-path #:allow-other-keys)
|
(lambda* (#:key unpack-path #:allow-other-keys)
|
||||||
(invoke "make" "doc"
|
(invoke "make" "doc"
|
||||||
"-C" (string-append "src/" unpack-path))))
|
"-C" (string-append "src/" unpack-path))))
|
||||||
(add-after 'install 'install-doc
|
(add-after 'install 'install-doc
|
||||||
(lambda* (#:key unpack-path #:allow-other-keys)
|
(lambda* (#:key unpack-path #:allow-other-keys)
|
||||||
(let ((man1 (string-append #$output "/share/man/man1"))
|
(let ((man1 (string-append #$output "/share/man1"))
|
||||||
(man5 (string-append #$output "/share/man/man5")))
|
(man5 (string-append #$output "/share/man5")))
|
||||||
(mkdir-p man1)
|
(mkdir-p man1)
|
||||||
(mkdir-p man5)
|
(mkdir-p man5)
|
||||||
(install-file
|
(install-file
|
||||||
|
@ -3748,13 +3749,17 @@ a text snippet), using @code{libphonenumber}.")
|
||||||
man5)))))))
|
man5)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-codeberg-org-emersion-go-scfg
|
(list go-codeberg-org-emersion-go-scfg
|
||||||
|
go-git-sr-ht-rockorager-vaxis
|
||||||
|
go-github-com-containerd-console
|
||||||
go-github-com-delthas-go-libnp
|
go-github-com-delthas-go-libnp
|
||||||
go-github-com-delthas-go-localeinfo
|
go-github-com-delthas-go-localeinfo
|
||||||
go-github-com-delthas-tcell-v2 ; remove in the next release
|
go-github-com-disintegration-imaging
|
||||||
go-github-com-mattn-go-runewidth
|
go-github-com-godbus-dbus-v5
|
||||||
|
go-github-com-rivo-uniseg
|
||||||
go-golang-org-x-net
|
go-golang-org-x-net
|
||||||
go-golang-org-x-time
|
go-golang-org-x-time
|
||||||
go-mvdan-cc-xurls-v2
|
go-mvdan-cc-xurls-v2
|
||||||
|
go-github-com-mattn-go-runewidth
|
||||||
scdoc
|
scdoc
|
||||||
which))
|
which))
|
||||||
(home-page "https://sr.ht/~delthas/senpai")
|
(home-page "https://sr.ht/~delthas/senpai")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue