mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@ COCOMO model or user-provided parameters.")
|
||||||
(define-public cloc
|
(define-public cloc
|
||||||
(package
|
(package
|
||||||
(name "cloc")
|
(name "cloc")
|
||||||
(version "1.90")
|
(version "1.92")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -278,7 +278,7 @@ COCOMO model or user-provided parameters.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc"))))
|
(base32 "1hy1hskiw02b7xaxn2qz0v7znj14l49w1anx20z6rkcps7212l5l"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list coreutils
|
(list coreutils
|
||||||
|
@ -299,15 +299,13 @@ COCOMO model or user-provided parameters.")
|
||||||
(string-append "INSTALL="
|
(string-append "INSTALL="
|
||||||
(assoc-ref inputs "coreutils")
|
(assoc-ref inputs "coreutils")
|
||||||
"/bin/install")
|
"/bin/install")
|
||||||
"install")
|
"install"))))
|
||||||
#t)))
|
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(wrap-program (string-append out "/bin/cloc")
|
(wrap-program (string-append out "/bin/cloc")
|
||||||
`("PERL5LIB" ":" =
|
`("PERL5LIB" ":" =
|
||||||
,(string-split (getenv "PERL5LIB") #\:)))
|
,(string-split (getenv "PERL5LIB") #\:)))))))
|
||||||
#t))))
|
|
||||||
#:out-of-source? #t
|
#:out-of-source? #t
|
||||||
;; Tests require some other packages.
|
;; Tests require some other packages.
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue