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
|
(define-public go-github-com-goccy-go-yaml
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-goccy-go-yaml")
|
(name "go-github-com-goccy-go-yaml")
|
||||||
(version "1.12.0")
|
(version "1.18.0")
|
||||||
(home-page "https://github.com/goccy/go-yaml")
|
(home-page "https://github.com/goccy/go-yaml")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -8030,7 +8030,7 @@ size.")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "06sf7vpz8gjyivrn3yhzcbbf3qhsqq5n7lsc23j91xw5xwpn37bk"))))
|
(base32 "0abvpywscsi503nq5a6z1jxhvvhk5gc366nk6xdlslp0gdh4sfhq"))))
|
||||||
(build-system go-build-system)
|
(build-system go-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -8040,13 +8040,7 @@ size.")
|
||||||
(add-after 'unpack 'remove-benchmarks
|
(add-after 'unpack 'remove-benchmarks
|
||||||
(lambda* (#:key import-path #:allow-other-keys)
|
(lambda* (#:key import-path #:allow-other-keys)
|
||||||
(delete-file-recursively
|
(delete-file-recursively
|
||||||
(string-append "src/" import-path "/benchmarks"))))
|
(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" "./..."))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list go-github-com-go-playground-validator-v10
|
(list go-github-com-go-playground-validator-v10
|
||||||
go-github-com-google-go-cmp))
|
go-github-com-google-go-cmp))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue