summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2020-12-11 14:18:51 +0100
committerGitHub <noreply@github.com>2020-12-11 14:18:51 +0100
commit36b6b3a9f7dfc5d63b4184e0905ae9ca3260e332 (patch)
tree13a0a7587f059b1b2fcadc9e96615885c7b1d15b /pkgs
parent7fdefbe37440c92755ae41477fc7f742b6a62ed5 (diff)
parente02a8cf4731ca135488c32a889e7b1986235bd1c (diff)
Merge pull request #106556 from onsails/github-commenter
github-commenter: add darwin platform
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/github-commenter/default.nix14
-rw-r--r--pkgs/development/tools/github-commenter/deps.nix102
2 files changed, 7 insertions, 109 deletions
diff --git a/pkgs/development/tools/github-commenter/default.nix b/pkgs/development/tools/github-commenter/default.nix
index 969d7950cb95..8d25710aa2dc 100644
--- a/pkgs/development/tools/github-commenter/default.nix
+++ b/pkgs/development/tools/github-commenter/default.nix
@@ -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;
};
}
diff --git a/pkgs/development/tools/github-commenter/deps.nix b/pkgs/development/tools/github-commenter/deps.nix
deleted file mode 100644
index 4b6be6c6d625..000000000000
--- a/pkgs/development/tools/github-commenter/deps.nix
+++ /dev/null
@@ -1,102 +0,0 @@
-# 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";
- };
- }
-]