Subject: bug#46431: closed ([PATCH 2/3] gnu: Add go-github-com-shazow-rateio.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 16 Apr 2025 11:33:02 +0000

Your bug report

#46431: [PATCH 2/3] gnu: Add go-github-com-shazow-rateio.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46431: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46431
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH 2/3] gnu: Add go-github-com-shazow-rateio.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Wed, 16 Apr 2025 12:32:25 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

The upstream looks abandoned <https://github.com/shazow/rateio>.

Closing as not applied.

--
Oleg

Subject: [PATCH 2/3] gnu: Add go-github-com-shazow-rateio.
From: Stefan Reichör <[email-masked]>
To: [email-masked]
Cc: Stefan Reichör <[email-masked]>
Date: Wed, 10 Feb 2021 22:54:03 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/golang.scm (go-github-com-shazow-rateio): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7c0d373a8b..897a5d0d35 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1926,6 +1926,30 @@ applications as well as a program to generate applications and command files.")
       (description "Several logging packages for Go")
       (license license:expat))))
 
+(define-public go-github-com-shazow-rateio
+  (let ((commit "4461efc8bdc4508e5ec6ac78fa2ff26d062ae678")
+        (revision "0"))
+    (package
+      (name "go-github-com-shazow-rateio")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/shazow/rateio")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1isy75cmm71q18mvs6xaizgdjqnn6pllkj4yvd42brfgfj84qz0w"))))
+      (build-system go-build-system)
+      (arguments
+       `(#:import-path "github.com/shazow/rateio"))
+      (home-page "https://github.com/shazow/rateio")
+      (synopsis "Ratelimiting for io-style interfaces in Go")
+      (description "Ratelimiting for io-style interfaces in Go")
+      (license license:expat))))
+
 (define-public go-github-com-spf13-pflag
   (package
     (name "go-github-com-spf13-pflag")
-- 
2.25.1