kube3d: 4.4.1 -> 4.4.2

exclude docgen as we dont use it and it is breaking the build

> main module (github.com/rancher/k3d/v4) does not contain package
github.com/rancher/k3d/v4/docgen
This commit is contained in:
06kellyjac 2021-04-20 11:11:45 +01:00
parent 8651109424
commit 9d70d47a84

View file

@ -1,22 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, k3sVersion ? "1.20.5-k3s1" }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, k3sVersion ? "1.20.6-k3s1" }:
buildGoModule rec {
pname = "kube3d";
version = "4.4.1";
excludedPackages = "tools";
version = "4.4.2";
src = fetchFromGitHub {
owner = "rancher";
repo = "k3d";
rev = "v${version}";
sha256 = "sha256-u9P+7qNomamd4BkqWBxA6rDom0hF6t10QfDTjqOMGeE=";
sha256 = "sha256-6BDetNPWyAVZOsnCWs90HljVpfUlAytFDPQ/SqPxwgg=";
};
vendorSha256 = null;
nativeBuildInputs = [ installShellFiles ];
excludedPackages = "\\(tools\\|docgen\\)";
preBuild = let t = "github.com/rancher/k3d/v4/version"; in
''
buildFlagsArray+=("-ldflags" "-s -w -X ${t}.Version=v${version} -X ${t}.K3sVersion=v${k3sVersion}")