guix_mirror_bot pushed a commit to branch master
in repository guix.

commit d0fd333a5ef106ab80bdaa80c94584d3746e5acc
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 13:10:20 2025 -0500

    gnu: Add go-github-com-bradfitz-iter.
    
    * gnu/packages/golang-xyz.scm (go-github-com-bradfitz-iter): New
    variable.
    
    Change-Id: Iea377276f4227bde92b81c73ab71eafd00ea9e2b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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 d78eb7389b..a3d7e24fe7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3026,6 +3026,38 @@ Supported Barcode Types:
      "This is a memcache client library for the Go programming language.")
     (license license:asl2.0)))
 
+(define-public go-github-com-bradfitz-iter
+  ;; XXX Report to the users of this package, note from maintainer:
+  ;;
+  ;; This package was intended to be an educational joke when it was released
+  ;; in 2014. People didn't get the joke part and started depending on
+  ;; it. That's fine, I guess. (This is the Internet.) But it's kinda
+  ;; weird. It's one line, and not even idiomatic Go style. I encourage you
+  ;; not to depend on this or write code like this, but I do encourage you to
+  ;; read the code and think about the representation of Go slices and why it
+  ;; doesn't allocate.
+  (package
+    (name "go-github-com-bradfitz-iter")
+    (version "0.0.0-20191230175014-e8f45d346db8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/bradfitz/iter";)
+              (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qqy1fhmlrsfz6l1arsxmkpfj30s090j1a3ij0lap6h45pc1z509"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/bradfitz/iter"))
+    (home-page "https://github.com/bradfitz/iter";)
+    (synopsis "Syntactically different way to iterate over integers")
+    (description
+     "This package provides a syntactically different way to iterate over 
integers.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-briandowns-spinner
   (package
     (name "go-github-com-briandowns-spinner")

Reply via email to