zarf: 0.54.0 -> 0.55.6 (#413577)

Changed files
+14 -11
pkgs
by-name
za
+14 -11
pkgs/by-name/za/zarf/package.nix
···
buildGoModule rec {
pname = "zarf";
-
version = "0.54.0";
src = fetchFromGitHub {
owner = "zarf-dev";
repo = "zarf";
-
rev = "v${version}";
-
hash = "sha256-rY9xWqJ+2Yfs6VRHTF89LmuEruAavDI7MgBm4UFEuBs=";
};
-
vendorHash = "sha256-Cz+w0tOEamCxf61hvQ03X/kXPY+qrmdBN8s26lr/wZ8=";
proxyVendor = true;
nativeBuildInputs = [ installShellFiles ];
···
preBuild = ''
mkdir -p build/ui
touch build/ui/index.html
'';
doCheck = false;
···
"-s"
"-w"
"-X"
-
"github.com/zarf-dev/zarf/src/config.CLIVersion=${src.rev}"
"-X"
-
"k8s.io/component-base/version.gitVersion=v0.0.0+zarf${src.rev}"
"-X"
-
"k8s.io/component-base/version.gitCommit=${src.rev}"
"-X"
"k8s.io/component-base/version.buildDate=1970-01-01T00:00:00Z"
];
···
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
export K9S_LOGS_DIR=$(mktemp -d)
installShellCompletion --cmd zarf \
-
--bash <($out/bin/zarf completion --no-log-file bash) \
-
--fish <($out/bin/zarf completion --no-log-file fish) \
-
--zsh <($out/bin/zarf completion --no-log-file zsh)
'';
meta = with lib; {
···
mainProgram = "zarf";
homepage = "https://zarf.dev";
license = licenses.asl20;
-
maintainers = with maintainers; [ ragingpastry ];
};
}
···
buildGoModule rec {
pname = "zarf";
+
version = "0.55.6";
src = fetchFromGitHub {
owner = "zarf-dev";
repo = "zarf";
+
tag = "v${version}";
+
hash = "sha256-UoTbw5QW9HpGDWHOC0Wv/4FaTKWEztHRp/XAOatqqjs=";
};
+
vendorHash = "sha256-AJd/QVL+ZoLORqeYrC/WkRtggYd3nhg8AEZ9Gb1j2tQ=";
proxyVendor = true;
nativeBuildInputs = [ installShellFiles ];
···
preBuild = ''
mkdir -p build/ui
touch build/ui/index.html
+
rm -rf hack/schema
'';
doCheck = false;
···
"-s"
"-w"
"-X"
+
"github.com/zarf-dev/zarf/src/config.CLIVersion=${src.tag}"
"-X"
+
"k8s.io/component-base/version.gitVersion=v0.0.0+zarf${src.tag}"
"-X"
+
"k8s.io/component-base/version.gitCommit=${src.tag}"
"-X"
"k8s.io/component-base/version.buildDate=1970-01-01T00:00:00Z"
];
···
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
export K9S_LOGS_DIR=$(mktemp -d)
installShellCompletion --cmd zarf \
+
--bash <($out/bin/zarf completion bash) \
+
--fish <($out/bin/zarf completion fish) \
+
--zsh <($out/bin/zarf completion zsh)
'';
meta = with lib; {
···
mainProgram = "zarf";
homepage = "https://zarf.dev";
license = licenses.asl20;
+
maintainers = with maintainers; [
+
ragingpastry
+
];
};
}