add newer version of fzf than in upstream guix

This commit is contained in:
Peter Tillemans 2024-08-26 19:26:25 +02:00
parent 4ac26ddd7f
commit b6ffdc078c

View file

@ -0,0 +1,95 @@
(define-module (snamellit packages fzf)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-xyz)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system go))
(define-public go-github-com-charlievieth-fastwalk
(package
(name "go-github-com-charlievieth-fastwalk")
(version "1.0.8")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/charlievieth/fastwalk")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "17zy17q31p8b93bf703rr0xqafp02bb0slkrgpxb8r0aaxz3zg4y"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/charlievieth/fastwalk"))
(home-page "https://github.com/charlievieth/fastwalk")
(synopsis "fastwalk")
(description
"Package fastwalk provides a faster version of
@@url{/path/filepath#@code{WalkDir,filepath.WalkDir}} for file system scanning
tools.")
(license license:expat)))
(define-public go-github-com-gdamore-tcell-v2
(package
(name "go-github-com-gdamore-tcell-v2")
(version "2.7.4")
(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 "05b22sgyf8lnwjddxlfvlj7i8b67gnidhbnz86vvx8fddggpa5nd"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/gdamore/tcell/v2"))
(propagated-inputs `(("go-golang-org-x-text" ,go-golang-org-x-text)
("go-golang-org-x-term" ,go-golang-org-x-term)
("go-golang-org-x-sys" ,go-golang-org-x-sys)
("go-github-com-mattn-go-runewidth" ,go-github-com-mattn-go-runewidth)
("go-github-com-lucasb-eyer-go-colorful" ,go-github-com-lucasb-eyer-go-colorful)
("go-github-com-gdamore-encoding" ,go-github-com-gdamore-encoding)))
(home-page "https://github.com/gdamore/tcell")
(synopsis "Tcell")
(description
"Package tcell provides a lower-level, portable API for building programs that
interact with terminals or consoles. It works with both common (and many
uncommon!) terminals or terminal emulators, and Windows console implementations.")
(license license:asl2.0)))
(define-public go-github-com-junegunn-fzf-0.54.3
(package
(name "go-github-com-junegunn-fzf")
(version "0.54.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/junegunn/fzf")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0mdj3z7w2igkvy8r304k9rcr2l6xm459ifshdm55iy6mazd8cmci"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/junegunn/fzf"))
(propagated-inputs `(("go-golang-org-x-term" ,go-golang-org-x-term)
("go-golang-org-x-sys" ,go-golang-org-x-sys)
("go-github-com-rivo-uniseg" ,go-github-com-rivo-uniseg)
("go-github-com-mattn-go-shellwords" ,go-github-com-mattn-go-shellwords)
("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
("go-github-com-gdamore-tcell-v2" ,go-github-com-gdamore-tcell-v2)
("go-github-com-charlievieth-fastwalk" ,go-github-com-charlievieth-fastwalk)))
(home-page "https://github.com/junegunn/fzf")
(synopsis "")
(description "fzf is a general-purpose command-line fuzzy finder.")
(license license:expat)))
go-github-com-junegunn-fzf-0.54.3