Merge pull request #106176 from 06kellyjac/kube3d_4.0.0

kube3d: 3.4.0 -> 4.0.0
This commit is contained in:
Kevin Cox 2021-01-25 07:41:04 -05:00 committed by GitHub
commit 8708b6d871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,8 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: { lib, buildGoModule, fetchFromGitHub, installShellFiles, k3sVersion ? "1.20.0-k3s2" }:
let
k3sVersion = "1.20.0-k3s2";
in
buildGoModule rec { buildGoModule rec {
pname = "kube3d"; pname = "kube3d";
version = "3.4.0"; version = "4.0.0";
excludedPackages = "tools"; excludedPackages = "tools";
@ -13,7 +10,7 @@ buildGoModule rec {
owner = "rancher"; owner = "rancher";
repo = "k3d"; repo = "k3d";
rev = "v${version}"; rev = "v${version}";
sha256 = "1fisbzv786n841pagy7zbanll7k1g5ib805j9azs2s30cfhvi08b"; sha256 = "sha256-sHtPW9EaTycHh9d/vp28BvzhmbLUQYsu6yMfJlJYH+k=";
}; };
vendorSha256 = null; vendorSha256 = null;
@ -24,8 +21,8 @@ buildGoModule rec {
"-ldflags=" "-ldflags="
"-w" "-w"
"-s" "-s"
"-X github.com/rancher/k3d/v3/version.Version=v${version}" "-X github.com/rancher/k3d/v4/version.Version=v${version}"
"-X github.com/rancher/k3d/v3/version.K3sVersion=v${k3sVersion}" "-X github.com/rancher/k3d/v4/version.K3sVersion=v${k3sVersion}"
]; ];
doCheck = false; doCheck = false;