gnu: shellcheck: Update to 0.10.0.
* gnu/packages/haskell-apps.scm (shellcheck): Update to 0.10.0. [arguments]: Use modern style and make manpage script executable. Change-Id: Id9dd03df4f8f0033dd3fc9a23b0b4d65ea1a73c6
This commit is contained in:
parent
41db573403
commit
0ab167bdb2
@ -19,6 +19,7 @@
|
|||||||
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
|
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
|
||||||
;;; Copyright © 2022 David Thompson <dthompson2@worcester.edu>
|
;;; Copyright © 2022 David Thompson <dthompson2@worcester.edu>
|
||||||
|
;;; Copyright © 2024 jgart <jgart@dismail.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@ -921,30 +922,31 @@ too slow and you'll get wound up in the scroll and crushed.")
|
|||||||
(define-public shellcheck
|
(define-public shellcheck
|
||||||
(package
|
(package
|
||||||
(name "shellcheck")
|
(name "shellcheck")
|
||||||
(version "0.9.0")
|
(version "0.10.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (hackage-uri "ShellCheck" version))
|
(uri (hackage-uri "ShellCheck" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "071k2gc8rzpg9lwq9g10c9xx0zm1wcgsf8v4n1csj9fm56vy7gmb"))
|
(base32 "08bdjcdl457xz2vh8y2w29bcwh1k7sfzyvszln3498vm5m1xn22d"))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
(file-name (string-append name "-" version ".tar.gz"))))
|
||||||
(build-system haskell-build-system)
|
(build-system haskell-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:haddock? #f ; TODO: Fails to build.
|
(list #:haddock? #f ; TODO: Fails to build.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'build 'build-man-page
|
(add-after 'build 'build-man-page
|
||||||
(lambda _
|
(lambda _
|
||||||
|
(chmod "manpage" #o555)
|
||||||
(invoke "./manpage")))
|
(invoke "./manpage")))
|
||||||
(add-after 'install 'install-man-page
|
(add-after 'install 'install-man-page
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(install-file "shellcheck.1"
|
(install-file "shellcheck.1"
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append #$output
|
||||||
"/share/man/man1/"))))
|
"/share/man/man1/"))))
|
||||||
(add-after 'register 'remove-libraries
|
(add-after 'register 'remove-libraries
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))))
|
(delete-file-recursively (string-append #$output "/lib")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pandoc))
|
(list pandoc))
|
||||||
(inputs
|
(inputs
|
||||||
|
Loading…
Reference in New Issue
Block a user