push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "kustomize_3";
version = "3.10.0";
# rev is the commit of the tag, mainly for kustomize version command output
rev = "602ad8aa98e2e17f6c9119e027a09757e63c8bec";
ldflags =
let
t = "sigs.k8s.io/kustomize/api/provenance";
in
[
"-s -w"
"-X ${t}.version=${version}"
"-X ${t}.gitCommit=${rev}"
];
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "kustomize";
rev = "kustomize/v${version}";
sha256 = "sha256-ESIykbAKXdv8zM9be0zEJ71rBAzZby0aTg25NlCsIOM=";
};
doCheck = true;
# avoid finding test and development commands
sourceRoot = "${src.name}/kustomize";
vendorHash = "sha256-xLeetcmzvpILLLMhMx7oahWLxguFjG3qbYpeeWpFUlw=";
meta = with lib; {
description = "Customization of kubernetes YAML configurations";
longDescription = ''
kustomize lets you customize raw, template-free YAML files for
multiple purposes, leaving the original YAML untouched and usable
as is.
'';
homepage = "https://github.com/kubernetes-sigs/kustomize";
license = licenses.asl20;
maintainers = with maintainers; [
carlosdagos
vdemeester
zaninime
Chili-Man
saschagrunert
];
mainProgram = "kustomize";
};
}

View File

@@ -0,0 +1,65 @@
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
}:
buildGoModule rec {
pname = "kustomize_4";
version = "4.5.7";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "kustomize";
rev = "kustomize/v${version}";
hash = "sha256-AHDUwXcYkI04nOBY8jScf+OE6k9Z5OqzhtWExK1rrKg=";
};
# rev is the commit of the tag, mainly for kustomize version command output
rev = "56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7";
ldflags =
let
t = "sigs.k8s.io/kustomize/api/provenance";
in
[
"-s"
"-X ${t}.version=${version}"
"-X ${t}.gitCommit=${rev}"
];
# avoid finding test and development commands
modRoot = "kustomize";
proxyVendor = true;
vendorHash = "sha256-9+k0Me5alZDNC27Mx0Q6vp0B2SEa+Qy0FoLSr/Rahkc=";
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd kustomize \
--bash <($out/bin/kustomize completion bash) \
--fish <($out/bin/kustomize completion fish) \
--zsh <($out/bin/kustomize completion zsh)
'';
meta = with lib; {
description = "Customization of kubernetes YAML configurations";
mainProgram = "kustomize";
longDescription = ''
kustomize lets you customize raw, template-free YAML files for
multiple purposes, leaving the original YAML untouched and usable
as is.
'';
homepage = "https://github.com/kubernetes-sigs/kustomize";
license = licenses.asl20;
maintainers = with maintainers; [
carlosdagos
vdemeester
periklis
zaninime
Chili-Man
saschagrunert
];
};
}

View File

@@ -0,0 +1,73 @@
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
kustomize,
testers,
}:
buildGoModule (finalAttrs: {
pname = "kustomize";
version = "5.7.1";
ldflags =
let
t = "sigs.k8s.io/kustomize/api/provenance";
in
[
"-s"
"-X ${t}.version=v${finalAttrs.version}" # add 'v' prefix to match official releases
"-X ${t}.gitCommit=${finalAttrs.src.rev}"
];
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "kustomize";
rev = "kustomize/v${finalAttrs.version}";
hash = "sha256-eLj9OQlHZph/rI3om6S5/0sYxjgYloUWag2mS0hEpCE=";
};
# avoid finding test and development commands
modRoot = "kustomize";
proxyVendor = true;
vendorHash = "sha256-OodR5WXEEn4ZlVRTsH2uSmuJuP+6PYRLvTEZCenx4XU=";
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd kustomize \
--bash <($out/bin/kustomize completion bash) \
--fish <($out/bin/kustomize completion fish) \
--zsh <($out/bin/kustomize completion zsh)
'';
passthru.tests = {
versionCheck = testers.testVersion {
command = "${finalAttrs.meta.mainProgram} version";
version = "v${finalAttrs.version}";
package = kustomize;
};
};
meta = {
description = "Customization of kubernetes YAML configurations";
mainProgram = "kustomize";
longDescription = ''
kustomize lets you customize raw, template-free YAML files for
multiple purposes, leaving the original YAML untouched and usable
as is.
'';
homepage = "https://github.com/kubernetes-sigs/kustomize";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
carlosdagos
vdemeester
periklis
zaninime
Chili-Man
saschagrunert
];
};
})

View File

@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "kustomize-sops";
version = "4.4.0";
src = fetchFromGitHub {
owner = "viaduct-ai";
repo = pname;
rev = "v${version}";
hash = "sha256-a9SvkHt8ZQFobOjKAECSJcRZEeRE8pTKLnXN4DYNa7k=";
};
vendorHash = "sha256-ajXW6H1XBgVtMdK7/asfpy6e3rFAD2pz3Lg+QFnkVpo=";
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/lib/viaduct.ai/v1/ksops/
mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
mv $GOPATH/bin/kustomize-sops $out/bin/ksops
ln -s $out/bin/ksops $out/lib/viaduct.ai/v1/ksops-exec/ksops-exec
ln -s $ous/bin/ksops $out/lib/viaduct.ai/v1/ksops/ksops
'';
# Tests are broken in a nix environment
doCheck = false;
meta = with lib; {
description = "Flexible Kustomize Plugin for SOPS Encrypted Resource";
longDescription = ''
KSOPS can be used to decrypt any Kubernetes resource, but is most commonly
used to decrypt encrypted Kubernetes Secrets and ConfigMaps.
'';
homepage = "https://github.com/viaduct-ai/kustomize-sops";
license = licenses.asl20;
maintainers = with maintainers; [ starcraft66 ];
};
}