gh: 2.21.1 -> 2.21.2
Diff: https://github.com/cli/cli/compare/v2.21.1...v2.21.2 Changelog: https://github.com/cli/cli/releases/tag/v2.21.2
This commit is contained in:
parent
39bc9634f6
commit
d629799adb
1 changed files with 8 additions and 4 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue