[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/27: gnu: Add go-github-com-xeipuuv-gojsonschema.
From: |
guix-commits |
Subject: |
23/27: gnu: Add go-github-com-xeipuuv-gojsonschema. |
Date: |
Sun, 23 Apr 2023 11:04:59 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 8e5b87f1d32e03eb1e316a93af6e103d4a27ea15
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Sun Apr 23 14:27:47 2023 +0200
gnu: Add go-github-com-xeipuuv-gojsonschema.
* gnu/packages/golang.scm (go-github-com-xeipuuv-gojsonschema): New
variable.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/golang.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7d50dc83f5..bb914abfd7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -12945,6 +12945,46 @@ programming language.")
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")
- 04/27: gnu: Add go-github-com-jcmturner-aescts-v2., (continued)
- 04/27: gnu: Add go-github-com-jcmturner-aescts-v2., guix-commits, 2023/04/23
- 08/27: gnu: Add go-github-com-jcmturner-goidentity-v6., guix-commits, 2023/04/23
- 07/27: gnu: Add go-github-com-hashicorp-go-uuid., guix-commits, 2023/04/23
- 10/27: gnu: Add go-github-com-jcmturner-rpc-v2-ndr., guix-commits, 2023/04/23
- 11/27: gnu: Add go-github-com-jcmturner-rpc-v2-mstypes., guix-commits, 2023/04/23
- 05/27: gnu: Add go-github-com-jcmturner-dnsutils-v2., guix-commits, 2023/04/23
- 02/27: gnu: Add go-github-com-avast-retry-go., guix-commits, 2023/04/23
- 13/27: gnu: Add go-github-com-dpotapov-go-spnego., guix-commits, 2023/04/23
- 21/27: gnu: Add go-github-com-xeipuuv-gojsonpointer., guix-commits, 2023/04/23
- 06/27: gnu: Add go-github-com-jcmturner-gofork., guix-commits, 2023/04/23
- 23/27: gnu: Add go-github-com-xeipuuv-gojsonschema.,
guix-commits <=
- 19/27: gnu: Add go-github-com-rubyist-tracerx., guix-commits, 2023/04/23
- 12/27: gnu: Add go-github-com-jcmturner-gokrb5-v8., guix-commits, 2023/04/23
- 15/27: gnu: Add go-github-com-git-lfs-pktline., guix-commits, 2023/04/23
- 20/27: gnu: Add go-github-com-ssgelm-cookiejarparser., guix-commits, 2023/04/23
- 22/27: gnu: Add go-github-com-xeipuuv-gojsonreference., guix-commits, 2023/04/23
- 09/27: gnu: Add go-github-com-jcmturner-rpc., guix-commits, 2023/04/23
- 14/27: gnu: Add go-github-com-git-lfs-go-netrc., guix-commits, 2023/04/23
- 16/27: gnu: Add go-github-com-git-lfs-wildmatch-v2., guix-commits, 2023/04/23
- 27/27: gnu: Add lfs-s3., guix-commits, 2023/04/23
- 17/27: gnu: Add go-github-com-leonelquinteros-gotext., guix-commits, 2023/04/23