2018-11-03 04:38:41 +00:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gosec";
|
2018-12-14 14:25:00 +00:00
|
|
|
version = "1.2.0";
|
2018-11-03 04:38:41 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/securego/gosec";
|
|
|
|
excludedPackages = ''cmd/tlsconfig'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "securego";
|
|
|
|
repo = "gosec";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2018-12-14 14:25:00 +00:00
|
|
|
sha256 = "1420yl4cjp4v4xv0l0wbahgl6bjhz77lx5va9hqa6abddmqvx1hg";
|
2018-11-03 04:38:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Golang security checker";
|
|
|
|
homepage = https://github.com/securego/gosec;
|
|
|
|
license = licenses.asl20 ;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|