* [bug#72631] [PATCH] gnu: shellcheck: Update to 0.10.0.
@ 2024-08-15 1:34 jgart via Guix-patches via
2024-08-16 12:50 ` bug#72631: " Lars-Dominik Braun
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2024-08-15 1:34 UTC (permalink / raw)
To: 72631; +Cc: jgart, Lars-Dominik Braun
* gnu/packages/haskell-apps.scm (shellcheck): Update to 0.10.0.
[arguments]: Use modern style and make manpage script executable.
Change-Id: Id9dd03df4f8f0033dd3fc9a23b0b4d65ea1a73c6
---
gnu/packages/haskell-apps.scm | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 43c12fd71c..e428e79047 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -19,6 +19,7 @@
;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
;;; Copyright © 2022 David Thompson <dthompson2@worcester.edu>
+;;; Copyright © 2024 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -921,30 +922,31 @@ (define-public scroll
(define-public shellcheck
(package
(name "shellcheck")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
(uri (hackage-uri "ShellCheck" version))
(sha256
- (base32 "071k2gc8rzpg9lwq9g10c9xx0zm1wcgsf8v4n1csj9fm56vy7gmb"))
+ (base32 "08bdjcdl457xz2vh8y2w29bcwh1k7sfzyvszln3498vm5m1xn22d"))
(file-name (string-append name "-" version ".tar.gz"))))
(build-system haskell-build-system)
(arguments
- '(#:haddock? #f ; TODO: Fails to build.
- #:phases
- (modify-phases %standard-phases
- (add-after 'build 'build-man-page
- (lambda _
- (invoke "./manpage")))
- (add-after 'install 'install-man-page
- (lambda* (#:key outputs #:allow-other-keys)
- (install-file "shellcheck.1"
- (string-append (assoc-ref outputs "out")
- "/share/man/man1/"))))
- (add-after 'register 'remove-libraries
- (lambda* (#:key outputs #:allow-other-keys)
- (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib")))))))
+ (list #:haddock? #f ; TODO: Fails to build.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'build 'build-man-page
+ (lambda _
+ (chmod "manpage" #o555)
+ (invoke "./manpage")))
+ (add-after 'install 'install-man-page
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "shellcheck.1"
+ (string-append #$output
+ "/share/man/man1/"))))
+ (add-after 'register 'remove-libraries
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file-recursively (string-append #$output "/lib")))))))
(native-inputs
(list pandoc))
(inputs
base-commit: 936928fe38946a7496273e636ca8888914d100a9
--
2.45.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#72631: [PATCH] gnu: shellcheck: Update to 0.10.0.
2024-08-15 1:34 [bug#72631] [PATCH] gnu: shellcheck: Update to 0.10.0 jgart via Guix-patches via
@ 2024-08-16 12:50 ` Lars-Dominik Braun
0 siblings, 0 replies; 2+ messages in thread
From: Lars-Dominik Braun @ 2024-08-16 12:50 UTC (permalink / raw)
To: jgart; +Cc: 72631-done
Hi,
> * gnu/packages/haskell-apps.scm (shellcheck): Update to 0.10.0.
> [arguments]: Use modern style and make manpage script executable.
LGTM, pushed as 0ab167bdb2ec3ff88a75930c24b8bd77c61cc634.
Lars
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-16 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-15 1:34 [bug#72631] [PATCH] gnu: shellcheck: Update to 0.10.0 jgart via Guix-patches via
2024-08-16 12:50 ` bug#72631: " Lars-Dominik Braun
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).