2022-11-01 07:10:12 -06:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, ... }:
|
2022-10-31 07:20:28 -06:00
|
|
|
with lib;
|
2022-11-01 07:10:12 -06:00
|
|
|
buildGoModule rec {
|
2022-09-06 09:43:57 -06:00
|
|
|
name = "vuln";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "golang";
|
|
|
|
repo = name;
|
2022-10-31 07:20:28 -06:00
|
|
|
rev = "995372c58a16";
|
|
|
|
sha256 = "sha256-xkwrgOVMcV7TNtXfuBUPdhBqumbcgG9B9NVcthMrai0=";
|
2022-09-06 09:43:57 -06:00
|
|
|
};
|
|
|
|
|
2022-10-31 07:20:28 -06:00
|
|
|
vendorSha256 = "sha256-BYxqE/KNvstX9qcSd411nXGWwZOmgj5iHEGRka/tt4Y=";
|
2022-09-06 09:43:57 -06:00
|
|
|
|
|
|
|
proxyVendor = true;
|
|
|
|
|
|
|
|
doCheck = false;
|
2022-11-01 10:35:42 -06:00
|
|
|
|
2022-10-31 07:20:28 -06:00
|
|
|
subPackages = [ "cmd/govulncheck" ];
|
2022-09-06 09:43:57 -06:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "tools for the Go vulnerability database";
|
|
|
|
homepage = "https://github.com/golang/vuln";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|