[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/172: gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0.
From: |
guix-commits |
Subject: |
76/172: gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0. |
Date: |
Sat, 9 Nov 2024 16:44:58 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit d732d533292aa2fb836980ac23458aa224eaad0f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Sep 13 12:16:40 2024 +0100
gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0.
* gnu/packages/golang-web.scm (go-github-com-xeipuuv-gojsonschema): Update
to 1.2.0.
[arguments]: <#:phases>: Remove 'disable-failing-tests and utilize
<#:test-flags> parameter.
Change-Id: Iafe51425325b9128a1e036f0f4eca88c91760ace
---
gnu/packages/golang-web.scm | 29 ++++++++++-------------------
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 2aefb0f037..d1dfd3e04e 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5499,35 +5499,26 @@ programming language.")
(license license:asl2.0))))
(define-public go-github-com-xeipuuv-gojsonschema
- (let ((commit "6b67b3fab74d992bd07f72550006ab2c6907c416")
- (revision "0"))
(package
(name "go-github-com-xeipuuv-gojsonschema")
- (version (git-version "0.0.0" revision commit))
+ (version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/xeipuuv/gojsonschema")
- (commit commit)))
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
+ (base32 "1mqiq0r8qw4qlfp3ls8073r6514rmzwrmdn4j33rppk3zh942i6l"))))
(build-system go-build-system)
(arguments
- '(#:import-path "github.com/xeipuuv/gojsonschema"
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key import-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" import-path)
- (substitute* "schema_test.go"
- (("\\{\"phase\": \"remote ref, " all)
- (string-append "// " all))
- (("\\{\"phase\": \"valid definition" all)
- (string-append "// " all))
- (("\\{\"phase\": \"invalid definition" all)
- (string-append "// " all)))))))))
+ (list
+ ;; validation of time strings. only RFC3339 not all of ISO 8601 are
+ ;; valid. expects: false, given true Schema: {"format":"time"} Data:
+ ;; "01:01:01,1111"
+ #:test-flags #~(list "-skip" "TestFormats")
+ #:import-path "github.com/xeipuuv/gojsonschema"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
@@ -5538,7 +5529,7 @@ programming language.")
(description
"This package provides an implementation of JSON Schema for the Go
programming language, which supports draft-04, draft-06 and draft-07.")
- (license license:asl2.0))))
+ (license license:asl2.0)))
(define-public go-golang-org-x-oauth2
(package
- 62/172: gnu: go-github-com-google-go-querystring: Update to 1.1.0., (continued)
- 62/172: gnu: go-github-com-google-go-querystring: Update to 1.1.0., guix-commits, 2024/11/09
- 57/172: gnu: go-golang-org-x-vuln: Enable tests., guix-commits, 2024/11/09
- 65/172: gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2., guix-commits, 2024/11/09
- 67/172: gnu: go-github-com-google-goterm: Move to golang-xyz., guix-commits, 2024/11/09
- 70/172: gnu: go-github-com-jonboulle-clockwork: Fix indentation., guix-commits, 2024/11/09
- 71/172: gnu: go-github-com-jonboulle-clockwork: Move to golang-xyz., guix-commits, 2024/11/09
- 73/172: gnu: go-github-com-google-btree: Update to 1.1.3., guix-commits, 2024/11/09
- 86/172: gnu: go-github-com-go-git-go-billy: Rename variable., guix-commits, 2024/11/09
- 77/172: gnu: go-github-com-xeipuuv-gojsonschema: Fix indentation., guix-commits, 2024/11/09
- 80/172: gnu: go-github-com-go-git-go-git-fixtures: Update to 4.3.1., guix-commits, 2024/11/09
- 76/172: gnu: go-github-com-xeipuuv-gojsonschema: Update to 1.2.0.,
guix-commits <=
- 83/172: gnu: go-github-com-go-git-go-git-fixtures-v4: Move to golang-xyz., guix-commits, 2024/11/09
- 75/172: gnu: go-github-com-google-gopacket: Move to golang-web., guix-commits, 2024/11/09
- 81/172: gnu: go-github-com-go-git-go-git-fixtures: Rename variable., guix-commits, 2024/11/09
- 88/172: gnu: go-github-go-git: Rename variable., guix-commits, 2024/11/09
- 82/172: gnu: go-github-com-go-git-go-git-fixtures-v4: Keep all phases., guix-commits, 2024/11/09
- 95/172: gnu: Add go-go-opentelemetry-io-otel., guix-commits, 2024/11/09
- 89/172: gnu: go-github-com-go-git-go-git-v5: Update style., guix-commits, 2024/11/09
- 94/172: gnu: chezmoi: Update to 1.8.10., guix-commits, 2024/11/09
- 107/172: gnu: Add go-github-com-circonus-labs-circonus-gometrics-v3., guix-commits, 2024/11/09
- 108/172: gnu: Add go-github-com-hashicorp-go-immutable-radix., guix-commits, 2024/11/09