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