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

29 lines
664 B
Nix
Raw Normal View History

2021-09-03 16:21:38 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gokart";
2021-09-24 07:35:02 +00:00
version = "0.3.0";
2021-09-03 16:21:38 +00:00
src = fetchFromGitHub {
owner = "praetorian-inc";
repo = pname;
rev = "v${version}";
2021-09-24 07:35:02 +00:00
sha256 = "sha256-iXdPQkKTRE2BE2yG2KKThpj7HrxXWwBFv2TobEwGLQQ=";
2021-09-03 16:21:38 +00:00
};
vendorSha256 = "0l5aj7j9m412bgm9n553m2sh9fy9dpzd0bi3qn21gj7bfdcpagnd";
# 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 ];
};
}