nixpkgs/pkgs/development/tools/gokart/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
663 B
Nix
Raw Normal View History

2021-09-03 16:21:38 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gokart";
2022-01-29 11:06:24 +00:00
version = "0.4.0";
2021-09-03 16:21:38 +00: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 16:21:38 +00:00
};
2022-01-29 11:06:24 +00:00
vendorSha256 = "sha256-S3RukCKAJnPH1KGVdnkgAJQKEDTZYpcMMdoQ4OnHZVg=";
2021-09-03 16:21:38 +00: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 ];
};
}