From 15f24d891cdf8b6e4b0e503b5cdd5da85f1ca40b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 22 Oct 2025 20:33:35 +0100 Subject: [PATCH] gnu: Add go-k8s-io-api. * gnu/packages/golang-xyz.scm (go-k8s-io-api): New variable. Change-Id: I9593e13d6be6cd505afd9068d4d3a40a97eb2a54 Reviewed-by: Arthur Rodrigues --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 8628fbac52d8dd75059bc3a24fe3322a2f80567c..9642379c521bcf888ecdbfb014116bc1b94bc947 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -24159,6 +24159,33 @@ dependencies.") XML, Apple Binary, OpenStep, and GNUStep) from/to arbitrary Go types.") (license license:giftware))) +(define-public go-k8s-io-api + (package + (name "go-k8s-io-api") + (version "0.34.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kubernetes/api") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1skg38mksg282jlbmf3asmsyij27r9257h3vixqrk50v7rp45zi5")))) + (build-system go-build-system) + (arguments + (list + #:import-path "k8s.io/api")) + (propagated-inputs + (list go-github-com-gogo-protobuf + go-k8s-io-apimachinery)) + (home-page "https://k8s.io/api") + (synopsis "Kubernetes API definition") + (description + "This package provides schema of the external API types that are served +by the Kubernetes API server.") + (license license:asl2.0))) + (define-public go-k8s-io-apimachinery (package (name "go-k8s-io-apimachinery")