rancher: 2.6.0 -> 2.6.4

- rename from rancher-cli to rancher in pkg expression

- remove explicit docheck = true;
This commit is contained in:
Bryan A. S 2022-03-28 03:41:01 -03:00
parent 12417777b2
commit 49e412b046

View file

@ -1,14 +1,14 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rancher-cli";
version = "2.6.0";
pname = "rancher";
version = "2.6.4";
src = fetchFromGitHub {
owner = "rancher";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-RfhcTo10nkHmKGwmS8WdjBioZhDIGSQ9vPPOv3Wg0Y4=";
sha256 = "sha256-5ceyScsCidJpHGfwhsq7/hDd3CClx29cD5Cdc1PSxTU=";
};
ldflags = [
@ -25,8 +25,6 @@ buildGoModule rec {
mv $out/bin/cli $out/bin/rancher
'';
doCheck = true;
doInstallCheck = true;
installCheckPhase = ''
$out/bin/rancher | grep ${version} > /dev/null