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.
This commit is contained in:
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

View file

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