Merge pull request #208946 from qowoz/gh

gh: 2.21.1 -> 2.21.2
This commit is contained in:
figsoda 2023-01-03 18:44:29 -05:00 committed by GitHub
commit 20b3661142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,17 @@
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
{ lib, fetchFromGitHub, buildGoModule, installShellFiles, testers, gh }:
buildGoModule rec {
pname = "gh";
version = "2.21.1";
version = "2.21.2";
src = fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-DVdbyHGBnbFkKu0h01i0d1qw5OuBYydyP7qHc6B1qs0=";
sha256 = "sha256-syd7OMBEMv9uJUDjIIqVkJ3pvuyKnD5pubG4d3TbkY8=";
};
vendorSha256 = "sha256-b4pNcOfG+W+l2cqn4ncvR47zJltKYIcE3W1GvrWEOFY=";
vendorSha256 = "sha256-m9K43Ns8j82nMkz+zkmC7HueOA6q6T4mFPQ1GSdqo24=";
nativeBuildInputs = [ installShellFiles ];
@ -42,6 +42,10 @@ buildGoModule rec {
# most tests require network access
doCheck = false;
passthru.tests.version = testers.testVersion {
package = gh;
};
meta = with lib; {
description = "GitHub CLI tool";
homepage = "https://cli.github.com/";