gnu: actionlint: Update to 1.7.2.

* gnu/packages/check.scm (actionlint): Update to 1.7.2.
[arguments]: <#:build-flags>: Add version to "-ldflags".

Change-Id: I2cc668556286b24ae231e3fe4bad468c1d8e8544
This commit is contained in:
Sharlatan Hellseher 2024-09-23 22:03:08 +01:00
parent 43e0baa5db
commit 759b74b852
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1299,7 +1299,7 @@ (define-public cpputest
(define-public actionlint
(package
(name "actionlint")
(version "1.7.1")
(version "1.7.2")
(source
(origin
(method git-fetch)
@ -1308,13 +1308,17 @@ (define-public actionlint
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0h84gb2mfhsrv1vqb3s2ff9j43zhg0ga49af6h2wdssbrs7w3vcy"))))
(base32 "1rgsxv4clgfyl4gr8bjk81p4b87c6hr34flxzw6011h0vjc54n7x"))))
(build-system go-build-system)
(arguments
(list
#:install-source? #f
#:build-flags
#~(list (string-append
"-ldflags=-X github.com/rhysd/actionlint.version=" #$version))
#:import-path "github.com/rhysd/actionlint/cmd/actionlint"
#:unpack-path "github.com/rhysd/actionlint"))
;; XXX: Install Man page, wrap with shellcheck and pyflakes.
(native-inputs
(list go-github-com-fatih-color
go-github-com-mattn-go-colorable