Subject: [PATCH 1/3] gnu: update go-github-com-emersion-go-sasl

From: Jean SIMARD <[email-masked]>
Date: Wed, 26 Jun 2024 07:32:56 +0000

The `let` has been removed which explains the entire
package is differently indented. Only `version`,
`commit` and `hash` have been changed.

Change-Id: I1cac640be1c9edc0cb2b427982d8419ce232ea00
---
 gnu/packages/golang.scm | 42 ++++++++++++++++++++---------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4e3fe5bd10..0b1a16d8e1 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5937,28 +5937,26 @@ (define-public go-github-com-emersion-go-smtp
     (license license:expat)))
 
 (define-public go-github-com-emersion-go-sasl
-  (let ((commit "0b9dcfb154ac3d7515b08bc2691a0332800edfe9")
-        (revision "1"))
-    (package
-      (name "go-github-com-emersion-go-sasl")
-      (version (git-version "0.0.0" revision commit))
-      (source
-        (origin
-          (method git-fetch)
-          (uri (git-reference
-                (url "https://github.com/emersion/go-sasl")
-                (commit commit)))
-          (file-name (git-file-name name version))
-          (sha256
-           (base32
-            "1cbf86wkqrdinfydndgdlnayg4a5mg3d4vqra377j2sfkg7wj0hs"))))
-      (build-system go-build-system)
-      (arguments
-       (list #:import-path "github.com/emersion/go-sasl"))
-      (home-page "https://github.com/emersion/go-sasl")
-      (synopsis "SASL library written in Go")
-      (description "This package provides a SASL library written in Go.")
-      (license license:expat))))
+  (package
+    (name "go-github-com-emersion-go-sasl")
+    (version "0.0.0-20220912192320-0145f2c60ead")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/emersion/go-sasl")
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "00bkl56zycs3pd1schkxx3swfjixz0lvnzdxkxx9piv99w91v2n4"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/emersion/go-sasl"))
+    (home-page "https://github.com/emersion/go-sasl")
+    (synopsis "SASL library written in Go")
+    (description "This package provides a SASL library written in Go.")
+    (license license:expat)))
 
 (define-public go-github-com-emersion-go-imap-idle
   (let ((commit "2704abd7050ed7f2143753554ee23affdf847bd9")
-- 
2.41.0