kpt: 0.39.3 -> 1.0.0-beta.55

This commit is contained in:
aucub 2024-11-17 06:06:05 +08:00
parent 2867f69e5c
commit 6bbd4938ee

View File

@ -1,28 +1,35 @@
{ buildGoModule, fetchFromGitHub, lib, stdenv }:
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "kpt";
version = "0.39.3";
version = "1.0.0-beta.55";
src = fetchFromGitHub {
owner = "GoogleContainerTools";
owner = "kptdev";
repo = pname;
rev = "v${version}";
hash = "sha256-vidrKfmP0Lw6EYYufLDxh3ROOJ3hPIusDTI/Hr73NYM=";
hash = "sha256-MVrJUsMpt1L56ezy2b2G6Aac9kpe4QgfSosR+PeTuBQ=";
};
vendorHash = "sha256-CoXlUX9hkP8gijA/vg19AS9030w95A2oKGD1wjzO8ak=";
vendorHash = "sha256-2jJCvBtTiIYmpxA92p8eZnKl1UO74pKr1YFRH14keZY=";
subPackages = [ "." ];
ldflags = [ "-s" "-w" "-X github.com/GoogleContainerTools/kpt/run.version=${version}" ];
ldflags = [
"-s"
"-w"
"-X github.com/kptdev/kpt/run.version=${version}"
];
meta = with lib; {
description = "Toolkit to help you manage, manipulate, customize, and apply Kubernetes Resource configuration data files";
meta = {
description = "Automate Kubernetes Configuration Editing";
mainProgram = "kpt";
homepage = "https://googlecontainertools.github.io/kpt/";
license = licenses.asl20;
maintainers = with maintainers; [ mikefaille ];
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://github.com/kptdev/kpt";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mikefaille ];
};
}