api-linter: 1.63.2 -> 1.63.3

This commit is contained in:
R. Ryantm 2024-01-28 17:07:07 +00:00 committed by Nick Cao
parent 5ee6b5165a
commit d676802118
No known key found for this signature in database

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "api-linter";
version = "1.63.2";
version = "1.63.3";
src = fetchFromGitHub {
owner = "googleapis";
repo = "api-linter";
rev = "v${version}";
hash = "sha256-xbYu/5E3rkH5VUuH0fCs2gfpWysDVABxY+pA4JkU5WY=";
hash = "sha256-mcmp3M9KhZp3j18jh+3v5fwPPLRs2hkrRUN3RM/zCmo=";
};
vendorHash = "sha256-SDfErsM9wC1bGgBwcMRvjTOzqGNQ3kIQM7XeL4sLTC8=";
vendorHash = "sha256-/z2FqMyZnn2A5aajimTS2zw3A1v5v0uYZY81acuQOnw=";
subPackages = [ "cmd/api-linter" ];
@ -23,14 +23,6 @@ buildGoModule rec {
"-w"
];
# reference: https://github.com/googleapis/api-linter/blob/v1.63.2/.github/workflows/release.yaml#L76
preBuild = ''
cat > cmd/api-linter/version.go <<EOF
package main
const version = "${version}"
EOF
'';
meta = with lib; {
description = "Linter for APIs defined in protocol buffers";
homepage = "https://github.com/googleapis/api-linter/";