Merge pull request #203767 from urandom2/gnostic

Fixes https://github.com/NixOS/nixpkgs/issues/142070
This commit is contained in:
Sandro 2022-12-01 13:04:04 +01:00 committed by GitHub
commit 3ea714e5e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gnostic";
version = "0.6.8";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
hash = "sha256-+/KZmwVV3pnbv3JNwNk9Q2gcTyDxV1tgsDzW5IYnnds=";
};
vendorHash = "sha256-OoI1/OPBgAy4AysPPSCXGmf0S4opzxO7ZrwBsQYImwU=";
# some tests are broken and others require network access
doCheck = false;
meta = with lib; {
homepage = "https://github.com/google/gnostic";
description = "A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks";
changelog = "https://github.com/google/gnostic/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ urandom ];
};
}

@ -14529,6 +14529,8 @@ with pkgs;
glslang = callPackage ../development/compilers/glslang { };
gnostic = callPackage ../development/compilers/gnostic {};
go-junit-report = callPackage ../development/tools/go-junit-report { };
gobang = callPackage ../development/tools/database/gobang {