python312Packages.lightning-utilities: 0.11.9 -> 0.12.0 (#378243)
[NixPkgs.git] / pkgs / by-name / ap / api-linter / package.nix
blob6e77539b60ccf72fbdbb2dd97fa86f023525178b
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "api-linter";
9   version = "1.68.0";
11   src = fetchFromGitHub {
12     owner = "googleapis";
13     repo = "api-linter";
14     rev = "v${version}";
15     hash = "sha256-pYzdI7bcAPP47K4EKjsAV7UY2RLGX9m3tksYRZeGdTQ=";
16   };
18   vendorHash = "sha256-vdoEMMlFwS+BBd0EsrahVL3ZZE4PHQJP4CNwsqIo5Y8=";
20   subPackages = [ "cmd/api-linter" ];
22   ldflags = [
23     "-s"
24     "-w"
25   ];
27   meta = with lib; {
28     description = "Linter for APIs defined in protocol buffers";
29     homepage = "https://github.com/googleapis/api-linter/";
30     changelog = "https://github.com/googleapis/api-linter/releases/tag/${src.rev}";
31     license = licenses.asl20;
32     maintainers = with maintainers; [ xrelkd ];
33     mainProgram = "api-linter";
34   };