guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

18/20: gnu: go-github-com-gdamore-tcell-v2: Simplify package.


From: guix-commits
Subject: 18/20: gnu: go-github-com-gdamore-tcell-v2: Simplify package.
Date: Sun, 24 Nov 2024 16:48:53 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 075a19b71b4aff60f471ebe4321f64f112dd3f25
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 21:19:12 2024 +0000

    gnu: go-github-com-gdamore-tcell-v2: Simplify package.
    
    There are no any *.gz files in output for the package, this change
    removes unnecessary custom phase.
    
    * gnu/packages/golang.scm (go-github-com-gdamore-tcell-v2) [name]:
    Adjust it to follow naming style for Glang module variants.
    [phases]<phases>: Remove 'make-file-writable.
    
    Change-Id: I1c20b769d1d5426ff4ce36d07764284ac29228dd
---
 gnu/packages/golang.scm | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 520d6ec264..414f343a56 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4514,7 +4514,7 @@ systems.")
 (define-public go-github-com-gdamore-tcell-v2
     (package
       (inherit go-github-com-gdamore-tcell)
-      (name "go-github-com-gdamore-tcell")
+      (name "go-github-com-gdamore-tcell-v2")
       (version "2.7.4")
       (source (origin
                 (method git-fetch)
@@ -4526,15 +4526,7 @@ systems.")
                  (base32
                   "05b22sgyf8lnwjddxlfvlj7i8b67gnidhbnz86vvx8fddggpa5nd"))))
       (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$")))))))
+       (list #:import-path "github.com/gdamore/tcell/v2"))
       (propagated-inputs
        (modify-inputs (package-inputs go-github-com-gdamore-tcell)
          (prepend go-golang-org-x-term go-golang-org-x-sys)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]