3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: cloc: Update to 1.92.

* gnu/packages/code.scm (cloc): Update to 1.92.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-17 02:34:15 +01:00
parent 4b6ce80a5e
commit e915b6a150
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -269,7 +269,7 @@ COCOMO model or user-provided parameters.")
(define-public cloc
(package
(name "cloc")
(version "1.90")
(version "1.92")
(source
(origin
(method git-fetch)
@ -278,7 +278,7 @@ COCOMO model or user-provided parameters.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc"))))
(base32 "1hy1hskiw02b7xaxn2qz0v7znj14l49w1anx20z6rkcps7212l5l"))))
(build-system gnu-build-system)
(inputs
(list coreutils
@ -299,15 +299,13 @@ COCOMO model or user-provided parameters.")
(string-append "INSTALL="
(assoc-ref inputs "coreutils")
"/bin/install")
"install")
#t)))
"install"))))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/cloc")
`("PERL5LIB" ":" =
,(string-split (getenv "PERL5LIB") #\:)))
#t))))
,(string-split (getenv "PERL5LIB") #\:)))))))
#:out-of-source? #t
;; Tests require some other packages.
#:tests? #f))