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;
|
2023-04-14 10:33:53 -06:00
|
|
|
rev = "03dd099d9b0dd4e0a3ab25b3192b9d95c97252ea";
|
|
|
|
sha256 = "sha256-UJ2svg/exjwH/T3dqHixRgD6ZqYjbV/MpnEEaFza6Ns=";
|
2022-09-06 09:43:57 -06:00
|
|
|
};
|
|
|
|
|
2023-04-14 10:33:53 -06:00
|
|
|
vendorSha256 = "sha256-tk186BCy8l0o1mxaWXcz0BWVMvvMvhEGcTmDdthJlcc=";
|
2022-09-06 09:43:57 -06:00
|
|
|
|
2023-04-14 10:33:53 -06:00
|
|
|
#> github.com/tidwall/pretty@v1.2.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
|
2022-09-06 09:43:57 -06:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|