1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-30 14:01:15 +02:00

gnu: Add go-github-com-google-jsonschema-go.

* gnu/packages/golang-xyz.scm (go-github-com-google-jsonschema-go): New variable.

Change-Id: I7a8d9ea7ef8e09d5df224da6de6a9f2f8bdc32b6
This commit is contained in:
Sharlatan Hellseher
2026-02-26 13:47:10 +00:00
parent 4fe8b8738a
commit 85dea73b18

View File

@@ -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")