me
/
guix
Archived
1
0
Fork 0

gnu: lesspipe: Update to 1.90.

* gnu/packages/less.scm (lesspipe): Update to 1.90.
[arguments]: Don't explicitly return #t from phases.
master
Tobias Geerinckx-Rice 2021-11-03 03:49:35 +01:00
parent 084e675ac8
commit 5052829f1c
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 6 deletions

View File

@ -59,7 +59,7 @@ text editors.")
(define-public lesspipe
(package
(name "lesspipe")
(version "1.89")
(version "1.90")
(source (origin
(method git-fetch)
(uri (git-reference
@ -68,7 +68,7 @@ text editors.")
(file-name (git-file-name name version))
(sha256
(base32
"0lxf0m4bgwhpwmwa5q2vklk31yhiaz049kpm4n2hqiyb5mlpa94a"))))
"17gv4nr9fxrk3png477pgiimdz8minp9scmqg2nxa96jfz4sk4li"))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests
@ -79,8 +79,7 @@ text editors.")
(delete-file "Makefile") ; force generating
(invoke "./configure"
(string-append "--prefix=" out)
"--yes")
#t)))
"--yes"))))
(add-before 'install 'patch-tput-and-file
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "lesspipe.sh"
@ -89,8 +88,7 @@ text editors.")
"/bin/tput colors"))
(("file -")
(string-append (assoc-ref inputs "file")
"/bin/file -")))
#t)))))
"/bin/file -"))))))))
(inputs
`(("file" ,file)
("ncurses" ,ncurses))) ; for tput