govulncheck: 1.0.0 -> 1.0.1
Diff: https://github.com/golang/vuln/compare/refs/tags/v1.0.0...v1.0.1
This commit is contained in:
parent
6d5d215a6e
commit
98dc97a14c
1 changed files with 15 additions and 7 deletions
|
@ -1,24 +1,32 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "govulncheck";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = "vuln";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cewQ03dK/k3mXevE09M01Yox/3ZWP6IrG0H4QsZMzy8=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-cewQ03dK/k3mXevE09M01Yox/3ZWP6IrG0H4QsZMzy8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-r9XshbgVA5rppJF46SFYPad344ZHMLWTHTnL6vbIFH8=";
|
||||
vendorHash = "sha256-r9XshbgVA5rppJF46SFYPad344ZHMLWTHTnL6vbIFH8=";
|
||||
|
||||
subPackages = [ "cmd/govulncheck" ];
|
||||
subPackages = [
|
||||
"cmd/govulncheck"
|
||||
];
|
||||
|
||||
# Vendoring breaks tests
|
||||
doCheck = false;
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck";
|
||||
|
|
Loading…
Reference in a new issue