Merge pull request #250628 from fabaff/govulncheck-bump

govulncheck: 1.0.0 -> 1.0.1
This commit is contained in:
Nick Cao 2023-08-22 07:31:39 +08:00 committed by GitHub
commit e36779315a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,32 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec { buildGoModule rec {
pname = "govulncheck"; pname = "govulncheck";
version = "1.0.0"; version = "1.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "golang"; owner = "golang";
repo = "vuln"; repo = "vuln";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-cewQ03dK/k3mXevE09M01Yox/3ZWP6IrG0H4QsZMzy8="; hash = "sha256-cewQ03dK/k3mXevE09M01Yox/3ZWP6IrG0H4QsZMzy8=";
}; };
vendorSha256 = "sha256-r9XshbgVA5rppJF46SFYPad344ZHMLWTHTnL6vbIFH8="; vendorHash = "sha256-r9XshbgVA5rppJF46SFYPad344ZHMLWTHTnL6vbIFH8=";
subPackages = [ "cmd/govulncheck" ]; subPackages = [
"cmd/govulncheck"
];
# Vendoring breaks tests # Vendoring breaks tests
doCheck = false; doCheck = false;
ldflags = [ "-s" "-w" ]; ldflags = [
"-s"
"-w"
];
meta = with lib; { meta = with lib; {
homepage = "https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck"; homepage = "https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck";