Skip to content

Commit 713195f

Browse files
committed
Adds go-jsonschema
1 parent 95e0d96 commit 713195f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

go-jsonschema.hcl

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
description = "A tool to generate Go data types from JSON Schema definitions."
2+
test = "go-jsonschema --help"
3+
binaries = ["go-jsonschema"]
4+
sha256-source = "https://github.com/omissis/go-jsonschema/releases/download/v${version}/checksums.txt"
5+
6+
platform "darwin" "amd64" {
7+
source = "https://github.com/omissis/go-jsonschema/releases/download/v${version}/go-jsonschema_Darwin_x86_64.tar.gz"
8+
}
9+
10+
platform "darwin" "arm64" {
11+
source = "https://github.com/omissis/go-jsonschema/releases/download/v${version}/go-jsonschema_Darwin_arm64.tar.gz"
12+
}
13+
14+
platform "linux" "amd64" {
15+
source = "https://github.com/omissis/go-jsonschema/releases/download/v${version}/go-jsonschema_Linux_x86_64.tar.gz"
16+
}
17+
18+
platform "linux" "arm64" {
19+
source = "https://github.com/omissis/go-jsonschema/releases/download/v${version}/go-jsonschema_Linux_arm64.tar.gz"
20+
}
21+
22+
version "0.20.0" {
23+
auto-version {
24+
github-release = "omissis/go-jsonschema"
25+
}
26+
}
27+
28+
sha256sums = {
29+
"https://github.com/omissis/go-jsonschema/releases/download/v0.20.0/go-jsonschema_Darwin_x86_64.tar.gz": "34df0ac20e6147dc67b177ba934ba8128f57fdd9ddf5b4a95cde8c42aa8ea0ca",
30+
"https://github.com/omissis/go-jsonschema/releases/download/v0.20.0/go-jsonschema_Darwin_arm64.tar.gz": "ebd2e2b18ed77d14881a7951657be63b65f6c95a0b8fb9a4ee9bcb0f1ad15816",
31+
"https://github.com/omissis/go-jsonschema/releases/download/v0.20.0/go-jsonschema_Linux_arm64.tar.gz": "03422c0be70273b7073b6124a98c499625179f9c4cf91d732d66faf674e995dc",
32+
"https://github.com/omissis/go-jsonschema/releases/download/v0.20.0/go-jsonschema_Linux_x86_64.tar.gz": "0085ae7ac630e8a3adbc1370d6eeefb765979781c30f660568284cb01dbc4779",
33+
}

0 commit comments

Comments
 (0)