gosca: init at 0.4.2
This commit is contained in:
parent
2a0bc341b5
commit
eb49cf1684
2 changed files with 36 additions and 0 deletions
34
pkgs/development/tools/gosca/default.nix
Normal file
34
pkgs/development/tools/gosca/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, gosca
|
||||
, testers
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gosca";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TARI0510";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mjQSYkcLl9X3IPv0liX26hvystsQOSVXvovKp4VekAY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-0EqMW4aNYPZEuk+mxmLTuenGdam56YneEad8lodVeBo=";
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = gosca;
|
||||
command = "gosca -v";
|
||||
version = "GoSCA_v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Golang dependence security checker";
|
||||
homepage = "https://github.com/TARI0510/gosca";
|
||||
changelog = "https://github.com/TARI0510/gosca/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -2475,6 +2475,8 @@ with pkgs;
|
|||
|
||||
gopass-summon-provider = callPackage ../tools/security/gopass/summon.nix { };
|
||||
|
||||
gosca = callPackage ../development/tools/gosca { };
|
||||
|
||||
gosh = callPackage ../tools/security/gosh { };
|
||||
|
||||
gospider = callPackage ../tools/security/gospider { };
|
||||
|
|
Loading…
Reference in a new issue