depot/third_party/nixpkgs/pkgs/development/tools/gokart/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

28 lines
663 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gokart";
version = "0.4.0";
src = fetchFromGitHub {
owner = "praetorian-inc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HsjLNY5Z5UidsLDWSP+1bu3jrfn3oAERPrPV/AkTH8I=";
};
vendorSha256 = "sha256-S3RukCKAJnPH1KGVdnkgAJQKEDTZYpcMMdoQ4OnHZVg=";
# 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 ];
};
}