From b6b95392ad24757f6574e56c357712bd8000daab Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 24 Nov 2024 21:19:12 +0000 Subject: [PATCH] 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]: 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 44043def48d625cd6c0b2a3dd5e83ee80668bdcf..4b5b6e99eb7e473534e37ee9b80e98d73d38bf05 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)))))