Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "gokart"; 8 version = "0.5.1"; 9 10 src = fetchFromGitHub { 11 owner = "praetorian-inc"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-G1IjlJ/rmviFWy6RFfLtP+bhfYcDuB97leimU39YCoQ="; 15 }; 16 17 vendorSha256 = "sha256-lgKYVgJlmUJ/msdIqG7EKAZuISie1lG7+VeCF/rcSlE="; 18 19 # Would need files to scan which are not shipped by the project 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Static analysis tool for securing Go code"; 24 homepage = "https://github.com/praetorian-inc/gokart"; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}