sharlatan pushed a commit to branch go-team
in repository guix.
commit 93e419d7744b5f11c6c8ba91b3dc116ea0830190
Author: Sharlatan Hellseher <[email protected]>
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 3a20a5a650..4c567eed3e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -4515,7 +4515,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)
@@ -4527,15 +4527,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)))))