Merge pull request #250628 from fabaff/govulncheck-bump
govulncheck: 1.0.0 -> 1.0.1
This commit is contained in:
commit
e36779315a
1 changed files with 15 additions and 7 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue