2021-09-03 17:21:38 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gokart";
|
2022-01-29 11:06:24 +00:00
|
|
|
version = "0.4.0";
|
2021-09-03 17:21:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "praetorian-inc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-01-29 11:06:24 +00:00
|
|
|
sha256 = "sha256-HsjLNY5Z5UidsLDWSP+1bu3jrfn3oAERPrPV/AkTH8I=";
|
2021-09-03 17:21:38 +01:00
|
|
|
};
|
|
|
|
|
2022-01-29 11:06:24 +00:00
|
|
|
vendorSha256 = "sha256-S3RukCKAJnPH1KGVdnkgAJQKEDTZYpcMMdoQ4OnHZVg=";
|
2021-09-03 17:21:38 +01:00
|
|
|
|
|
|
|
# Would need files to scan which are not shipped by the project
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Static analysis tool for securing Go code";
|
|
|
|
homepage = "https://github.com/praetorian-inc/gokart";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|