diff options
author | R. Ryantm <ryantm-bot@ryantm.com> | 2022-08-18 10:27:47 +0000 |
---|---|---|
committer | Ivar Scholten <ivar.scholten@protonmail.com> | 2022-08-19 01:16:16 +0200 |
commit | f04a9770e504ab92aa0872e2327c3da4d6e3da6d (patch) | |
tree | 1d9f5ea580139f4d9280c656bcb0d9b38a709cb3 /pkgs/applications/version-management | |
parent | 55328741511aee080912eafd94c1db82332d6c8a (diff) |
ghr: 0.14.0 -> 0.15.0
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/ghr/default.nix | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/ghr/default.nix b/pkgs/applications/version-management/git-and-tools/ghr/default.nix index 5570dbf10148d..b5188c97f07c4 100644 --- a/pkgs/applications/version-management/git-and-tools/ghr/default.nix +++ b/pkgs/applications/version-management/git-and-tools/ghr/default.nix @@ -1,25 +1,31 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +, testers +, ghr +}: buildGoModule rec { pname = "ghr"; - version = "0.14.0"; + version = "0.15.0"; src = fetchFromGitHub { owner = "tcnksm"; repo = "ghr"; 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 doCheck = false; doInstallCheck = true; - installCheckPhase = '' - $out/bin/ghr --version - ''; + passthru.tests.testVersion = testers.testVersion { + package = ghr; + version = "ghr version v${version}"; + }; meta = with lib; { homepage = "https://github.com/tcnksm/ghr"; |