forked from mirrors/nixpkgs
github-commenter: init at 0.5.0
This commit is contained in:
parent
58f5c8e0cb
commit
9a8e4c0da1
25
pkgs/development/tools/github-commenter/default.nix
Normal file
25
pkgs/development/tools/github-commenter/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
pname = "github-commenter";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cloudposse";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0y7yw7x8gqfbkqdfrwd9lffx3rrp62nz1aa86liy2dja97dacpij";
|
||||||
|
};
|
||||||
|
|
||||||
|
goPackagePath = "github.com/cloudposse/${pname}";
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
102
pkgs/development/tools/github-commenter/deps.nix
generated
Normal file
102
pkgs/development/tools/github-commenter/deps.nix
generated
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||||
|
[
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/Masterminds/goutils";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/Masterminds/goutils";
|
||||||
|
rev = "41ac8693c5c10a92ea1ff5ac3a7f95646f6123b0";
|
||||||
|
sha256 = "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/Masterminds/semver";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/Masterminds/semver";
|
||||||
|
rev = "0fd41f6ff0825cf7efae00e706120bdd48914d93";
|
||||||
|
sha256 = "0jf1c03c9cibfci7qaxbk8h758gmc9i0115jdw57v5c45hklw9ah";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/Masterminds/sprig";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/Masterminds/sprig";
|
||||||
|
rev = "7525b3376b8792ab24d07381324e4e2463e3356b";
|
||||||
|
sha256 = "05ia4r8b86s7pk8r3jmjq5x7pgsmp6wvcm42z8vl6vdhdr28bfrg";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/google/go-github";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/google/go-github";
|
||||||
|
rev = "24f172eae1a0c53c780f259d8492979900e9af2e";
|
||||||
|
sha256 = "1bxklfrl1wx2691qindiikkbyixd9p8pfqjn0xqi4riy5hcgz96s";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/google/go-querystring";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/google/go-querystring";
|
||||||
|
rev = "c8c88dbee036db4e4808d1f2ec8c2e15e11c3f80";
|
||||||
|
sha256 = "1yckg2052mz7ps1m68wri6kyb5n4g0vx2yf7s0xs9gdqvvscp57l";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/google/uuid";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/google/uuid";
|
||||||
|
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
||||||
|
sha256 = "0zw8fvl6jqg0fmv6kmvhss0g4gkrbvgyvl2zgy5wdbdlgp4fja0h";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/huandu/xstrings";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/huandu/xstrings";
|
||||||
|
rev = "8bbcf2f9ccb55755e748b7644164cd4bdce94c1d";
|
||||||
|
sha256 = "1ivvc95514z63k7cpz71l0dwlanffmsh1pijhaqmp41kfiby8rsx";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/imdario/mergo";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/imdario/mergo";
|
||||||
|
rev = "4c317f2286be3bd0c4f1a0e622edc6398ec4656d";
|
||||||
|
sha256 = "0bihha1qsgfjk14yv1hwddv3d8dzxpbjlaxwwyys6lhgxz1cr9h9";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "github.com/pkg/errors";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://github.com/pkg/errors";
|
||||||
|
rev = "27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7";
|
||||||
|
sha256 = "0yzmgi6g4ak4q8y7w6x0n5cbinlcn8yc3gwgzy4yck00qdn25d6y";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/crypto";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/crypto";
|
||||||
|
rev = "4def268fd1a49955bfb3dda92fe3db4f924f2285";
|
||||||
|
sha256 = "1bfsnari529gw34cz0zqk3d9mrkcj1ay35kangri8kbgll0ss5a6";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
{
|
||||||
|
goPackagePath = "golang.org/x/net";
|
||||||
|
fetch = {
|
||||||
|
type = "git";
|
||||||
|
url = "https://go.googlesource.com/net";
|
||||||
|
rev = "ca1201d0de80cfde86cb01aea620983605dfe99b";
|
||||||
|
sha256 = "16j9xyby1vfl4ch6wqzafxxxnxvcp8vhzknpchwabci1f2zcsn6i";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
|
@ -802,6 +802,8 @@ in
|
||||||
|
|
||||||
github-changelog-generator = callPackage ../development/tools/github-changelog-generator { };
|
github-changelog-generator = callPackage ../development/tools/github-changelog-generator { };
|
||||||
|
|
||||||
|
github-commenter = callPackage ../development/tools/github-commenter { };
|
||||||
|
|
||||||
gitless = callPackage ../applications/version-management/gitless { };
|
gitless = callPackage ../applications/version-management/gitless { };
|
||||||
|
|
||||||
gitter = callPackage ../applications/networking/instant-messengers/gitter { };
|
gitter = callPackage ../applications/networking/instant-messengers/gitter { };
|
||||||
|
|
Loading…
Reference in a new issue