pkgs: add govulncheck
This commit is contained in:
parent
9246ca5cca
commit
be44f96ea8
@ -6,5 +6,6 @@ with pkgs; {
|
||||
#(callPackage ./cinny-desktop.nix { inherit isUnstable; })
|
||||
#(callPackage ./mudita-center.nix { inherit isUnstable; })
|
||||
(callPackage ./got.nix { inherit isUnstable; })
|
||||
(callPackage ./govulncheck.nix { inherit isUnstable; })
|
||||
];
|
||||
}
|
||||
|
26
pkgs/govulncheck.nix
Normal file
26
pkgs/govulncheck.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildGo119Module, fetchFromGitHub, isUnstable, ... }:
|
||||
|
||||
with lib;
|
||||
buildGo119Module rec {
|
||||
name = "vuln";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "golang";
|
||||
repo = name;
|
||||
rev = "27dd78d2ca392c1738e54efe513a2ecb7bf46000";
|
||||
sha256 = "sha256-G35y1V4W1nLZ+QGvIQwER9whBIBDFUVptrHx78orcI0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-XxX+S+hXySwbXruJXM0fK7gcxiZDiysQJcXENoh/PEg=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "tools for the Go vulnerability database";
|
||||
homepage = "https://github.com/golang/vuln";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ qbit ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user