github-commenter: 0.5.0 -> 0.8.0

migrate to buildGoModule, set platforms to unix
This commit is contained in:
Andrey Kuznetsov
2020-12-10 21:39:01 +04:00
parent 4d20dc5e87
commit e02a8cf473
2 changed files with 7 additions and 109 deletions
@@ -1,25 +1,25 @@
{ lib, fetchFromGitHub, buildGoPackage }:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "github-commenter";
version = "0.5.0";
version = "0.8.0";
src = fetchFromGitHub {
owner = "cloudposse";
repo = pname;
rev = version;
sha256 = "0y7yw7x8gqfbkqdfrwd9lffx3rrp62nz1aa86liy2dja97dacpij";
sha256 = "HgiCgyig+49g275G6zZ0kGTxt1TSfFK8kt+SOf4ei74=";
};
goPackagePath = "github.com/cloudposse/${pname}";
vendorSha256 = "Gw+cR5sA5MGuclcvur8olmRtK04LDP5vKJ5k7yZO3B0=";
goDeps = ./deps.nix;
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.linux;
platforms = platforms.unix;
};
}