~ruther/guix-local

b6b95392ad24757f6574e56c357712bd8000daab — Sharlatan Hellseher 1 year, 7 months ago 80e4d27
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
1 files changed, 2 insertions(+), 10 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +2 -10
@@ 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)))))