mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
Merge pull request #203767 from urandom2/gnostic
Fixes https://github.com/NixOS/nixpkgs/issues/142070
This commit is contained in:
commit
3ea714e5e7
26
pkgs/development/compilers/gnostic/default.nix
Normal file
26
pkgs/development/compilers/gnostic/default.nix
Normal file
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user