nixpkgs/pkgs/development/tools/github-commenter/default.nix

24 lines
661 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildGoModule }:
2019-08-03 16:13:59 +01:00
buildGoModule rec {
2019-08-03 16:13:59 +01:00
pname = "github-commenter";
2021-04-11 10:08:43 +01:00
version = "0.9.0";
2019-08-03 16:13:59 +01:00
src = fetchFromGitHub {
owner = "cloudposse";
repo = pname;
rev = version;
2021-04-11 10:08:43 +01:00
sha256 = "sha256-IBo4FAoYX1FmrmQ9mlyyu1TGLY7dlH7pWalBoRb2puE=";
2019-08-03 16:13:59 +01:00
};
2021-04-11 10:08:43 +01:00
vendorSha256 = "sha256-H1SnNG+/ALYs7h/oT8zWBhAXOuCFY0Sto2ATBBZg2ek=";
2019-08-03 16:13:59 +01:00
meta = with lib; {
description = "Command line utility for creating GitHub comments on Commits, Pull Request Reviews or Issues";
license = licenses.asl20;
homepage = "https://github.com/cloudposse/github-commenter";
maintainers = [ maintainers.mmahut ];
platforms = platforms.unix;
2019-08-03 16:13:59 +01:00
};
}