Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5}: 6 7buildGoModule rec { 8 pname = "github-commenter"; 9 version = "0.28.0"; 10 11 src = fetchFromGitHub { 12 owner = "cloudposse"; 13 repo = "github-commenter"; 14 rev = version; 15 hash = "sha256-x3/ae22ub9Us3mvSmvq9ohlkujvZCUfSrmZeQNvIWzE="; 16 }; 17 18 vendorHash = "sha256-DS2cTYQasIKmyqHS3kTpNMA4fuLxSv4n7ZQjeRWE0gI="; 19 20 meta = with lib; { 21 description = "Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues"; 22 mainProgram = "github-commenter"; 23 license = licenses.asl20; 24 homepage = "https://github.com/cloudposse/github-commenter"; 25 maintainers = [ maintainers.mmahut ]; 26 }; 27}