unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74172] [PATCH 1/2] gnu: go-github-com-delthas-tcell-v2: New variable.
       [not found] <cover.1730495315.git.mazin@getstate.dev>
@ 2024-11-02  7:40 ` Mazin AlHaddad
  2024-11-02  7:40 ` [bug#74172] [PATCH 2/2] gnu: senpai: Update to 0.3.0 Mazin AlHaddad
  1 sibling, 0 replies; 2+ messages in thread
From: Mazin AlHaddad @ 2024-11-02  7:40 UTC (permalink / raw)
  To: 74172; +Cc: Mazin Alhaddad

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(+)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#74172] [PATCH 2/2] gnu: senpai: Update to 0.3.0.
       [not found] <cover.1730495315.git.mazin@getstate.dev>
  2024-11-02  7:40 ` [bug#74172] [PATCH 1/2] gnu: go-github-com-delthas-tcell-v2: New variable Mazin AlHaddad
@ 2024-11-02  7:40 ` Mazin AlHaddad
  1 sibling, 0 replies; 2+ messages in thread
From: Mazin AlHaddad @ 2024-11-02  7:40 UTC (permalink / raw)
  To: 74172; +Cc: Mazin Alhaddad

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(-)

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-02  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1730495315.git.mazin@getstate.dev>
2024-11-02  7:40 ` [bug#74172] [PATCH 1/2] gnu: go-github-com-delthas-tcell-v2: New variable Mazin AlHaddad
2024-11-02  7:40 ` [bug#74172] [PATCH 2/2] gnu: senpai: Update to 0.3.0 Mazin AlHaddad

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).