Files
nixpkgs/pkgs/by-name/kp/kpt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
712 B
Nix

{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "kpt";
version = "1.0.0-beta.55";
src = fetchFromGitHub {
owner = "kptdev";
repo = "kpt";
rev = "v${version}";
hash = "sha256-MVrJUsMpt1L56ezy2b2G6Aac9kpe4QgfSosR+PeTuBQ=";
};
vendorHash = "sha256-2jJCvBtTiIYmpxA92p8eZnKl1UO74pKr1YFRH14keZY=";
subPackages = [ "." ];
ldflags = [
"-s"
"-w"
"-X github.com/kptdev/kpt/run.version=${version}"
];
meta = {
description = "Automate Kubernetes Configuration Editing";
mainProgram = "kpt";
homepage = "https://github.com/kptdev/kpt";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mikefaille ];
};
}