Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "checkmate"; 8 version = "0.9.3"; 9 10 src = fetchFromGitHub { 11 owner = "adedayo"; 12 repo = pname; 13 rev = "v${version}"; 14 hash = "sha256-XzzN4oIG6E4NsMGl4HzFlgAGhkRieRn+jyA0bT8fcrg="; 15 }; 16 17 vendorHash = "sha256-D87b/LhHnu8xE0wRdB/wLIuf5NlqrVnKt2WAF29bdZo="; 18 19 subPackages = [ "." ]; 20 21 meta = with lib; { 22 description = "Pluggable code security analysis tool"; 23 homepage = "https://github.com/adedayo/checkmate"; 24 changelog = "https://github.com/adedayo/checkmate/releases/tag/v${version}"; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ fab ]; 27 }; 28}