[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63017] [PATCH v2 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema
From: |
Nicolas Graves |
Subject: |
[bug#63017] [PATCH v2 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema. |
Date: |
Sun, 23 Apr 2023 14:27:47 +0200 |
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): New variable.
---
gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e1fb09a485..5a45212b0b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12832,6 +12832,46 @@ (define-public go-github-com-xeipuuv-gojsonreference
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))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xeipuuv/gojsonschema")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1q937a6q7canlr3dllqdw0qwa6z2fpwn1w9kycavx8jmwh6q3f69"))))
+ (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)))))))))
+ (propagated-inputs (list go-github-com-xeipuuv-gojsonreference
+ go-github-com-xeipuuv-gojsonpointer
+ go-github-com-stretchr-testify))
+ (home-page "https://github.com/xeipuuv/gojsonschema")
+ (synopsis "Implementation of JSON Schema for Go")
+ (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))))
+
(define-public go-github-com-niemeyer-pretty
(package
(name "go-github-com-niemeyer-pretty")
--
2.39.2
- [bug#63017] [PATCH v2 08/24] gnu: Add go-github-com-jcmturner-goidentity-v6., (continued)
- [bug#63017] [PATCH v2 08/24] gnu: Add go-github-com-jcmturner-goidentity-v6., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 10/24] gnu: Add go-github-com-jcmturner-rpc-v2-ndr., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 12/24] gnu: Add go-github-com-jcmturner-gokrb5-v8., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 13/24] gnu: Add go-github-com-dpotapov-go-spnego., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 14/24] gnu: Add go-github-com-git-lfs-go-netrc., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 15/24] gnu: Add go-github-com-git-lfs-pktline., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 21/24] gnu: Add go-github-com-xeipuuv-gojsonpointer., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 18/24] gnu: Add go-github-com-olekukonko-ts., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 17/24] gnu: Add go-github-com-leonelquinteros-gotext., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 20/24] gnu: Add go-github-com-ssgelm-cookiejarparser., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema.,
Nicolas Graves <=
- [bug#63017] [PATCH v2 24/24] gnu: git-lfs: Update to 3.3.0., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 19/24] gnu: Add go-github-com-rubyist-tracerx., Nicolas Graves, 2023/04/23
- [bug#63017] [PATCH v2 22/24] gnu: Add go-github-com-xeipuuv-gojsonreference., Nicolas Graves, 2023/04/23