gnu: lf: Fix build.

* gnu/packages/golang.scm (go-github-com-gdamore-tcell-v2-2.3): New public variable.
* gnu/packages/disk.scm (lf)[native-inputs]: Use it instead of
go-github-com-gdamore-tcell-v2.

Reported by Tyler Wolf <https://issues.guix.gnu.org/59663>.
This commit is contained in:
Tobias Geerinckx-Rice 2022-11-27 01:00:00 +01:00
parent f33ab4713b
commit b0801110cc
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79
2 changed files with 17 additions and 1 deletions

View file

@ -6259,6 +6259,21 @@ systems.")
(modify-inputs (package-inputs go-github-com-gdamore-tcell)
(prepend go-golang-org-x-term go-golang-org-x-sys)))))
(define-public go-github-com-gdamore-tcell-v2-2.3
(package
(inherit go-github-com-gdamore-tcell-v2)
(name "go-github-com-gdamore-tcell")
(version "2.3.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gdamore/tcell")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ypbl5080q9sd3irad8mv7zlg4242i8pmg5xyhbyq95kymwibaid"))))))
(define-public go-git-sr-ht-rockorager-tcell-term
(package
(name "go-git-sr-ht-rockorager-tcell-term")