Merge pull request #187255 from r-ryantm/auto-update/ghr

ghr: 0.14.0 -> 0.15.0
This commit is contained in:
Ivv 2022-08-19 01:20:37 +02:00 committed by GitHub
commit 5efa052928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,25 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub }: { lib
, buildGoModule
, fetchFromGitHub
, testers
, ghr
}:
buildGoModule rec { buildGoModule rec {
pname = "ghr"; pname = "ghr";
version = "0.14.0"; version = "0.15.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tcnksm"; owner = "tcnksm";
repo = "ghr"; repo = "ghr";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pF1TPvQLPa5BbXZ9rRCq7xWofXCBRa9CDgNxX/kaTMo="; sha256 = "sha256-947hTRfx3GM6qKDYvlKEmofqPdcmwx9V/zISkcSKALM=";
}; };
vendorSha256 = "sha256-+e9Q4Pw9pJyOXVz85KhOSuybj1PBcJi51fGR3a2Gixk="; vendorSha256 = "sha256-OpWp3v1nxHJpEh2jW8MYnbaq66wx9b3DlaKzeti5N3w=";
# Tests require a Github API token, and networking # Tests require a Github API token, and networking
doCheck = false; doCheck = false;
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' passthru.tests.testVersion = testers.testVersion {
$out/bin/ghr --version package = ghr;
''; version = "ghr version v${version}";
};
meta = with lib; { meta = with lib; {
homepage = "https://github.com/tcnksm/ghr"; homepage = "https://github.com/tcnksm/ghr";