gnu: go-github-com-gdamore-tcell-v2: Update to 2.5.3.

* gnu/packages/golang.scm (go-github-com-gdamore-tcell-v2): Update
  to 2.5.3.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
This commit is contained in:
( 2022-10-21 22:11:35 +01:00 committed by Raghav Gururajan
parent bba6ad665a
commit 12a09206c3
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -6235,28 +6235,26 @@ systems.")
(package (package
(inherit go-github-com-gdamore-tcell) (inherit go-github-com-gdamore-tcell)
(name "go-github-com-gdamore-tcell") (name "go-github-com-gdamore-tcell")
(version "2.3.1") (version "2.5.3")
(source (source (origin
(origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://github.com/gdamore/tcell")
(url "https://github.com/gdamore/tcell") (commit (string-append "v" version))))
(commit (string-append "v" version)))) (file-name (git-file-name name version))
(file-name (git-file-name name version)) (sha256
(sha256 (base32
(base32 "0pvs0gigqxpifc7y7cx82cg95pgqmy8qzxynja3zidplrx2075j3"))))
"0ypbl5080q9sd3irad8mv7zlg4242i8pmg5xyhbyq95kymwibaid"))))
(arguments (arguments
`(#:import-path "github.com/gdamore/tcell/v2" (list #:import-path "github.com/gdamore/tcell/v2"
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-before 'reset-gzip-timestamps 'make-files-writable (add-before 'reset-gzip-timestamps 'make-files-writable
(lambda* (#:key outputs #:allow-other-keys) (lambda _
;; Make sure .gz files are writable so that the ;; Make sure .gz files are writable so that the
;; 'reset-gzip-timestamps' phase can do its work. ;; 'reset-gzip-timestamps' phase can do its work.
(let ((out (assoc-ref outputs "out"))) (for-each make-file-writable
(for-each make-file-writable (find-files #$output "\\.gz$")))))))
(find-files out "\\.gz$"))))))))
(propagated-inputs (propagated-inputs
(modify-inputs (package-inputs go-github-com-gdamore-tcell) (modify-inputs (package-inputs go-github-com-gdamore-tcell)
(prepend go-golang-org-x-term go-golang-org-x-sys))))) (prepend go-golang-org-x-term go-golang-org-x-sys)))))