3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/github-commenter/default.nix
Andrey Kuznetsov e02a8cf473
github-commenter: 0.5.0 -> 0.8.0
migrate to buildGoModule, set platforms to unix
2020-12-10 21:39:01 +04:00

26 lines
700 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "github-commenter";
version = "0.8.0";
src = fetchFromGitHub {
owner = "cloudposse";
repo = pname;
rev = version;
sha256 = "HgiCgyig+49g275G6zZ0kGTxt1TSfFK8kt+SOf4ei74=";
};
vendorSha256 = "Gw+cR5sA5MGuclcvur8olmRtK04LDP5vKJ5k7yZO3B0=";
goPackagePath = "github.com/cloudposse/${pname}";
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;
};
}