mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +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:
parent
4b6ce80a5e
commit
e915b6a150
1 changed files with 4 additions and 6 deletions
|
@ -269,7 +269,7 @@ (define ref
|
|||
(define-public cloc
|
||||
(package
|
||||
(name "cloc")
|
||||
(version "1.90")
|
||||
(version "1.92")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -278,7 +278,7 @@ (define-public cloc
|
|||
(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 @@ (define-public cloc
|
|||
(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))
|
||||
|
|
Loading…
Reference in a new issue