guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

190/401: gnu: Add go-k8s-io-utils.


From: guix-commits
Subject: 190/401: gnu: Add go-k8s-io-utils.
Date: Thu, 26 Dec 2024 19:30:55 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 5b01ba1ed64a1fa4a4df81d5483a1329c57ea422
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 15 19:45:07 2024 +0000

    gnu: Add go-k8s-io-utils.
    
    * gnu/packages/golang-xyz.scm (go-k8s-io-utils): New variable.
    
    Change-Id: Ieb44fbbe7b020d6ca4bede0b556ce45c9a29e169
---
 gnu/packages/golang-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e242ec34b2..30d76bf035 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -10622,6 +10622,38 @@ also provides V-style logging controlled by the 
@code{-v} and
               (with-directory-excursion (string-append "src/" import-path)
                 (delete-file-recursively "examples")))))))))
 
+(define-public go-k8s-io-utils
+  (package
+    (name "go-k8s-io-utils")
+    (version "0.0.0-20241210054802-24370beab758")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kubernetes/utils";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "158rsq780hrzv6zb7lycjg8b2lfd00nvmx3mn4pi9byjam2y7nds"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f ; XXX: all of them fail with various reasons
+      #:import-path "k8s.io/utils"
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'build)))) ; no go files in project's root
+    (propagated-inputs
+     (list go-github-com-davecgh-go-spew
+           go-k8s-io-klog-v2))
+    (home-page "https://github.com/kubernetes/utils";)
+    (synopsis "Utility libraries for Golang")
+    (description
+     "This package provides a set of libraries that implementing low-level,
+kubernetes-independent packages supplementing the
+@url{https://pkg.go.dev/std#stdlib,Go standard libs}.")
+    (license license:asl2.0)))
+
 (define-public go-mvdan-cc-editorconfig
   (package
     (name "go-mvdan-cc-editorconfig")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]