Subject: [PATCH 1/2] gnu: Add go-github-com-emersion-go-imap-id.

From: Jussi Timperi <[email-masked]>
Date: Mon, 17 Feb 2025 13:22:47 +0200

* gnu/packages/golang-web.scm (go-github-com-emersion-go-imap-id): New variable.

Change-Id: I80d434d2905bfbe0e252840cec628477b4a042e0
---
 gnu/packages/golang-web.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 74d9eafcc4..695c16c147 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024 Troy Figiel <[email-masked]>
 ;;; Copyright © 2024 Herman Rimm <[email-masked]>
 ;;; Copyright © 2024 Roman Scherer <[email-masked]>
+;;; Copyright © 2025 Jussi Timperi <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1913,6 +1914,31 @@ (define-public go-github-com-emersion-go-imap
 used to build IMAP clients and servers.")
     (license license:expat)))
 
+(define-public go-github-com-emersion-go-imap-id
+  (let ((commit "f94a56b9ecde7e39e7ea38d62c745b557cb94139")
+        (revision "0"))
+    (package
+      (name "go-github-com-emersion-go-imap-id")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emersion/go-imap-id")
+               (commit commit)))
+         (sha256
+          (base32 "1pi87xq6nrb1kdf4za4xp8cfkpwr3p93kjrmzmnr4z0j90y26vfi"))
+         (file-name (git-file-name name version))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:import-path "github.com/emersion/go-imap-id"))
+      (propagated-inputs (list go-github-com-emersion-go-imap))
+      (home-page "https://github.com/emersion/go-imap-id")
+      (synopsis "ID extension for go-imap")
+      (description "This package provides an ID extension for go-imap.")
+      (license license:expat))))
+
 ;; XXX: This repository has been archived by the owner on Sep 8, 2021. It is
 ;; now read-only.
 (define-public go-github-com-emersion-go-imap-idle
-- 
2.48.1