mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-goccy-go-yaml: Update to 1.18.0.
* gnu/packages/golang-xyz.scm (go-github-com-goccy-go-yaml): Update to 1.18.0. [arguments] <phases>: Use default 'check. Change-Id: I43c764c35864622763c5963a6dbf0f8dcb0dc3cd
This commit is contained in:
parent
f221f62138
commit
d794b4a13b
1 changed files with 3 additions and 9 deletions
|
@ -8020,7 +8020,7 @@ size.")
|
|||
(define-public go-github-com-goccy-go-yaml
|
||||
(package
|
||||
(name "go-github-com-goccy-go-yaml")
|
||||
(version "1.12.0")
|
||||
(version "1.18.0")
|
||||
(home-page "https://github.com/goccy/go-yaml")
|
||||
(source
|
||||
(origin
|
||||
|
@ -8030,7 +8030,7 @@ size.")
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "06sf7vpz8gjyivrn3yhzcbbf3qhsqq5n7lsc23j91xw5xwpn37bk"))))
|
||||
(base32 "0abvpywscsi503nq5a6z1jxhvvhk5gc366nk6xdlslp0gdh4sfhq"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -8040,13 +8040,7 @@ size.")
|
|||
(add-after 'unpack 'remove-benchmarks
|
||||
(lambda* (#:key import-path #:allow-other-keys)
|
||||
(delete-file-recursively
|
||||
(string-append "src/" import-path "/benchmarks"))))
|
||||
;; XXX: Replace when go-build-system supports nested path.
|
||||
(replace 'check
|
||||
(lambda* (#:key import-path tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(invoke "go" "test" "-v" "./..."))))))))
|
||||
(string-append "src/" import-path "/benchmarks")))))))
|
||||
(native-inputs
|
||||
(list go-github-com-go-playground-validator-v10
|
||||
go-github-com-google-go-cmp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue