diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-12-17 02:34:15 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-12-17 03:07:55 +0100 |
| commit | e915b6a15042a8148b2ce3ddf8b9b2c5a59006c4 (patch) | |
| tree | 6cf136a99cae0df507f3302fd0ee05d1e8d97edb /gnu/packages/code.scm | |
| parent | 4b6ce80a5e412ee32a388970ed5922402d97f16c (diff) | |
gnu: cloc: Update to 1.92.
* gnu/packages/code.scm (cloc): Update to 1.92.
[arguments]: Don't explicitly return #t from phases.
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index d3ff6ae7c81..dccfdeb157b 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -269,7 +269,7 @@ COCOMO model or user-provided parameters.") | |||
| 269 | (define-public cloc | 269 | (define-public cloc |
| 270 | (package | 270 | (package |
| 271 | (name "cloc") | 271 | (name "cloc") |
| 272 | (version "1.90") | 272 | (version "1.92") |
| 273 | (source | 273 | (source |
| 274 | (origin | 274 | (origin |
| 275 | (method git-fetch) | 275 | (method git-fetch) |
| @@ -278,7 +278,7 @@ COCOMO model or user-provided parameters.") | |||
| 278 | (commit (string-append "v" version)))) | 278 | (commit (string-append "v" version)))) |
| 279 | (file-name (git-file-name name version)) | 279 | (file-name (git-file-name name version)) |
| 280 | (sha256 | 280 | (sha256 |
| 281 | (base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc")))) | 281 | (base32 "1hy1hskiw02b7xaxn2qz0v7znj14l49w1anx20z6rkcps7212l5l")))) |
| 282 | (build-system gnu-build-system) | 282 | (build-system gnu-build-system) |
| 283 | (inputs | 283 | (inputs |
| 284 | (list coreutils | 284 | (list coreutils |
| @@ -299,15 +299,13 @@ COCOMO model or user-provided parameters.") | |||
| 299 | (string-append "INSTALL=" | 299 | (string-append "INSTALL=" |
| 300 | (assoc-ref inputs "coreutils") | 300 | (assoc-ref inputs "coreutils") |
| 301 | "/bin/install") | 301 | "/bin/install") |
| 302 | "install") | 302 | "install")))) |
| 303 | #t))) | ||
| 304 | (add-after 'install 'wrap-program | 303 | (add-after 'install 'wrap-program |
| 305 | (lambda* (#:key inputs outputs #:allow-other-keys) | 304 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 306 | (let ((out (assoc-ref outputs "out"))) | 305 | (let ((out (assoc-ref outputs "out"))) |
| 307 | (wrap-program (string-append out "/bin/cloc") | 306 | (wrap-program (string-append out "/bin/cloc") |
| 308 | `("PERL5LIB" ":" = | 307 | `("PERL5LIB" ":" = |
| 309 | ,(string-split (getenv "PERL5LIB") #\:))) | 308 | ,(string-split (getenv "PERL5LIB") #\:))))))) |
| 310 | #t)))) | ||
| 311 | #:out-of-source? #t | 309 | #:out-of-source? #t |
| 312 | ;; Tests require some other packages. | 310 | ;; Tests require some other packages. |
| 313 | #:tests? #f)) | 311 | #:tests? #f)) |
