Subject: [PATCH v2 11/13] gnu: packages: Add go-gopkg-in-irc-v4

From: Jesse Eisses <[email-masked]>
Date: Fri, 26 Apr 2024 10:01:58 +0200

---
 gnu/packages/irc.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 39b915a518..80b2e740ee 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -781,6 +781,32 @@ (define-public go-gopkg-in-irc-v3
 building block for other projects.")
     (license license:expat)))
 
+(define-public go-gopkg-in-irc
+  (package
+    (inherit go-gopkg-in-irc-v3)
+    (name "go-gopkg-in-irc")
+    (version "4.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gopkg.in/irc.v4")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1yr7m1vz7fj0jbmk8njg54nyc9hx4kv24k13sjc4zj5fyqljj0p2"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      ;; TODO: the same tests fail as in the go-gopkg-in-irc-v3 package
+      #:tests? #f
+      #:import-path "gopkg.in/irc.v4"
+      #:unpack-path "gopkg.in/irc.v4"))
+    (propagated-inputs
+     (list go-gopkg-in-yaml-v2
+           go-golang-org-x-time
+           go-github-com-stretchr-testify))))
+
 (define-public chathistorysync
   (package
     (name "chathistorysync")
-- 
2.41.0