all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50275] [PATCH 1/4] gnu: Add go-github-com-gdamore-tcell-v2.
@ 2021-08-30 16:40 jgart via Guix-patches via
  2021-08-30 16:40 ` [bug#50276] [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell jgart via Guix-patches via
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: jgart via Guix-patches via @ 2021-08-30 16:40 UTC (permalink / raw)
  To: 50275; +Cc: Brice Waegeneire, Arun Isaac, Guix Together, Julien Lepiller

From: Guix Together <jgart@dismail.de>

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

Co-authored-by: Arun Isaac <arunisaac@systemreboot.net>
Co-authored-by: Brice Waegeneire <brice@waegenei.re>
Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 72579d6bd2..f52343345b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5257,6 +5257,38 @@ formatting.  It also favors portability, and includes support for all POSIX
 systems.")
       (license license:expat))))
 
+(define-public go-github-com-gdamore-tcell-v2
+    (package
+      (inherit go-github-com-gdamore-tcell)
+      (name "go-github-com-gdamore-tcell")
+      (version "2.3.1")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/gdamore/tcell")
+               (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0ypbl5080q9sd3irad8mv7zlg4242i8pmg5xyhbyq95kymwibaid"))))
+      (arguments
+       `(#:import-path "github.com/gdamore/tcell/v2"
+         #:phases
+         (modify-phases %standard-phases
+           (add-before 'reset-gzip-timestamps 'make-files-writable
+             (lambda* (#:key outputs #:allow-other-keys)
+               ;; Make sure .gz files are writable so that the
+               ;; 'reset-gzip-timestamps' phase can do its work.
+               (let ((out (assoc-ref outputs "out")))
+                 (for-each make-file-writable
+                           (find-files out "\\.gz$"))
+                 #t))))))
+      (propagated-inputs
+       `(("go-golang-org-x-term" ,go-golang-org-x-term)
+         ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+         ,@(package-inputs go-github-com-gdamore-tcell)))))
+
 (define-public go-github-com-mattn-go-shellwords
   (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2")
         (version "1.0.5")
-- 
2.33.0





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

end of thread, other threads:[~2021-09-12  3:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30 16:40 [bug#50275] [PATCH 1/4] gnu: Add go-github-com-gdamore-tcell-v2 jgart via Guix-patches via
2021-08-30 16:40 ` [bug#50276] [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell jgart via Guix-patches via
2021-08-30 19:35   ` bug#50276: " Maxim Cournoyer
2021-08-30 16:40 ` [bug#50277] [PATCH 3/4] gnu: Add go-github-com-anaseto-gruid jgart via Guix-patches via
2021-09-12  0:53   ` [bug#50277] This one can be closed since it was merged jgart via Guix-patches via
2021-09-12  3:05     ` bug#50277: " Maxim Cournoyer
2021-08-30 16:40 ` [bug#50278] [PATCH 4/4] gnu: harmonist: Update to 0.4.1 jgart via Guix-patches via
     [not found]   ` <handler.50278.B.16303417037327.ack@debbugs.gnu.org>
2021-08-30 16:54     ` [bug#50278] Acknowledgement ([PATCH 4/4] gnu: harmonist: Update to 0.4.1.) jgart via Guix-patches via
2021-08-30 18:41       ` [bug#50278] [PATCH 4/4] gnu: harmonist: Update to 0.4.1 Maxim Cournoyer
2021-08-30 19:47   ` bug#50278: " Maxim Cournoyer
2021-08-30 18:57 ` bug#50275: [PATCH 1/4] gnu: Add go-github-com-gdamore-tcell-v2 Maxim Cournoyer

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.