summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-26 13:47:10 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-02-26 13:47:36 +0000
commit85dea73b18ea3c949a92d768ce873122afa4d0a9 (patch)
tree4ac9897fea2f19be8f6a4157beaf4c32fbd05d0b /gnu
parent4fe8b8738a31b6715d4055785149511bfd4b9f38 (diff)
gnu: Add go-github-com-google-jsonschema-go.
* gnu/packages/golang-xyz.scm (go-github-com-google-jsonschema-go): New variable. Change-Id: I7a8d9ea7ef8e09d5df224da6de6a9f2f8bdc32b6
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index ab84c5ca7b5..968d295b155 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -10870,6 +10870,35 @@ It also contains some convenience functions for colors, SSH to and from
termios translations, readCh, reading passwords, etc.")
(license license:bsd-3)))
+(define-public go-github-com-google-jsonschema-go
+ (package
+ (name "go-github-com-google-jsonschema-go")
+ (version "0.4.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/jsonschema-go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1sbhlwxg4fgyv3l0rnymw6is590n55qva9ylxsv29y08y19k3lch"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/google/jsonschema-go"))
+ (native-inputs
+ (list go-github-com-google-go-cmp))
+ (home-page "https://github.com/google/jsonschema-go")
+ (synopsis "JSON Schema for Go")
+ (description
+ "This package implements the @url{https://json-schema.org/, JSON Schema}
+specification. It supports creating schemas, validating JSON values against a
+schema, and inferring a schema from a Go struct. See the package
+documentation for usage.")
+ (license license:expat)))
+
(define-public go-github-com-google-s2a-go
(package
(name "go-github-com-google-s2a-go")