[PATCH 0/2] Update senpai to 0.3.0 and add delthas-tcell-v2.

  • Open
  • quality assurance status badge
Details
2 participants
  • get-state
  • Nicolas Graves
Owner
unassigned
Submitted by
get-state
Severity
normal
G
G
get-state wrote 4 days ago
(address . guix-patches@gnu.org)(name . get-state)(address . mazin@getstate.dev)
cover.1730490061.git.mazin@getstate.dev
get-state (2):
gnu: go-github-com-delthas-tcell-v2: New variable.
gnu: senpai: Update to 0.3.0.

gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
gnu/packages/messaging.scm | 9 +++++----
2 files changed, 33 insertions(+), 4 deletions(-)


base-commit: 870b7d69b4b06d01cdf6bfca71bcc161c0b832bf
--
2.46.0
M
M
Mazin AlHaddad wrote 3 days ago
[PATCH 1/2] gnu: go-github-com-delthas-tcell-v2: New variable.
(address . 74172@debbugs.gnu.org)(name . Mazin Alhaddad)(address . mazin@getstate.dev)
24f1024f2de4897361db95b9e8558a177c345cd7.1730495315.git.mazin@getstate.dev
From: Mazin Alhaddad <mazin@getstate.dev>

* gnu/packages/golang.scm (go-github-com-delthas-tcell-v2): New variable.

Change-Id: Ifc15544e2e78215a4f6cdc36cd316dd10fa0071e
---
gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 00dde61f2c..bdfee798bf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5135,6 +5135,34 @@ (define-public go-github-com-gdamore-tcell-v2
(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-delthas-tcell-v2
+ (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"))))
+ (arguments
+ (list
+ #:import-path "github.com/gdamore/tcell/v2"
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'reset-gzip-timestamps 'make-files-writable
+ (lambda _
+ ;; Make sure .gz files are writable so that the
+ ;; 'reset-gzip-timestamps' phase can do its work.
+ (for-each make-file-writable
+ (find-files #$output "\\.gz$")))))))
+ (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-git-sr-ht-rockorager-tcell-term
(package
(name "go-git-sr-ht-rockorager-tcell-term")
--
2.46.0
M
M
Mazin AlHaddad wrote 3 days ago
[PATCH 2/2] gnu: senpai: Update to 0.3.0.
(address . 74172@debbugs.gnu.org)(name . Mazin Alhaddad)(address . mazin@getstate.dev)
2f0375d91d5f9da5bc7dd3d4fb2bee2db89a7795.1730495315.git.mazin@getstate.dev
From: Mazin Alhaddad <mazin@getstate.dev>

* gnu/packages/messaging.scm (senpai): Update to 0.3.0.
[phases]: Switch to `make doc` in build-doc phase.
[native-inputs]: Add `which`.

Change-Id: I40d5cae27eb716da1ed6d9dddc1e19f33ae683b6
---
gnu/packages/messaging.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c482cd469e..72b68d9495 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -3595,7 +3595,7 @@ (define-public pn
(define-public senpai
(package
(name "senpai")
- (version "0.2.0")
+ (version "0.3.0")
(source
(origin
(method git-fetch)
@@ -3605,7 +3605,7 @@ (define-public senpai
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1qw955i5f3jr42h4afr23v7wq616bcsyq68if75qdw8j1yibnpmb"))))
+ (base32 "0l43qfjr0ggpv1hkyyfxp3j6acrbbrl8n6qxlh91gyb2jan03683"))))
(build-system go-build-system)
(arguments
(list #:import-path "git.sr.ht/~taiite/senpai/cmd/senpai"
@@ -3615,7 +3615,7 @@ (define-public senpai
#~(modify-phases %standard-phases
(add-after 'build 'build-doc
(lambda* (#:key unpack-path #:allow-other-keys)
- (invoke "make" "doc/senpai.1" "doc/senpai.5"
+ (invoke "make" "doc"
"-C" (string-append "src/" unpack-path))))
(add-after 'install 'install-doc
(lambda* (#:key unpack-path #:allow-other-keys)
@@ -3632,12 +3632,13 @@ (define-public senpai
(native-inputs (list go-git-sr-ht-emersion-go-scfg
go-github-com-delthas-go-libnp
go-github-com-delthas-go-localeinfo
- go-github-com-gdamore-tcell-v2
+ go-github-com-delthas-tcell-v2
go-github-com-mattn-go-runewidth
go-golang-org-x-net
go-golang-org-x-term
go-golang-org-x-time
go-mvdan-cc-xurls
+ which
scdoc))
(home-page "https://sr.ht/~delthas/senpai")
(synopsis "Modern terminal IRC client")
--
2.46.0
N
N
Nicolas Graves wrote 36 hours ago
tag 74172 easy
(address . control@debbugs.gnu.org)
87y120nkq1.fsf@ngraves.fr
tags 74172 + easy
quit

--
Best regards,
Nicolas Graves
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74172@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74172
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch