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

From: Jesse Eisses <[email-masked]>
Date: Wed, 10 Apr 2024 10:10:06 +0200

Change-Id: I5a8acf3869021660c98cbb8b674d25ca28a7fd1d
---
 gnu/packages/irc.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm
index 39b915a518..2d7467443b 100644
--- a/gnu/packages/irc.scm
+++ b/gnu/packages/irc.scm
@@ -781,6 +781,31 @@ (define-public go-gopkg-in-irc-v3
 building block for other projects.")
     (license license:expat)))
 
+(define-public go-gopkg-in-irc-v4
+  (package
+    (inherit go-gopkg-in-irc-v3)
+    (name "go-gopkg-in-irc-v4")
+    (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
+      #:tests? #f
+      #:import-path "gopkg.in/irc.v4"
+      #:unpack-path "gopkg.in/irc.v4"))
+    (propagated-inputs
+     `(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)
+       ("go-golang-org-x-time" ,go-golang-org-x-time)
+       ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))))
+
 (define-public chathistorysync
   (package
     (name "chathistorysync")
-- 
2.41.0