1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gnostic";
9 version = "0.7.0";
10
11 src = fetchFromGitHub {
12 owner = "google";
13 repo = "gnostic";
14 rev = "v${version}";
15 hash = "sha256-Wpe+rK4XMfMZYhR1xTEr0nsEjRGkSDA7aiLeBbGcRpA=";
16 };
17
18 vendorHash = "sha256-Wyv5czvD3IwE236vlAdq8I/DnhPXxdbwZtUhun+97x4=";
19
20 # some tests are broken and others require network access
21 doCheck = false;
22
23 meta = {
24 homepage = "https://github.com/google/gnostic";
25 description = "Compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks";
26 changelog = "https://github.com/google/gnostic/releases/tag/v${version}";
27 license = lib.licenses.asl20;
28 maintainers = with lib.maintainers; [ urandom ];
29 };
30}