guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5bd8dfed35be5e465c810badc7d47bcdc4ccadee
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Feb 15 20:34:52 2026 +0000

    gnu: go-github-com-protonmail-go-crypto: Update to 1.3.0-0.a8cc4f0.
    
    * gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto):
    Update to a8cc4f09f6cb247ab2180b45029ddaa736674f87 commit.
    [source]: Switch to the latest commit.
    [arguments] <test-flags>: Run short tests only.
    
    Relates-to: https://codeberg.org/guix/guix/issues/6412
    Change-Id: I163dd1a0fc2c4b2237986cff1a9c80ae71be2cf2
---
 gnu/packages/golang-crypto.scm | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 9e6d4546e5..ad6acba421 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -2604,27 +2604,36 @@ algorithm.  It is a fork of 
github.com/jameskeane/bcrypt.")
 
 (define-public go-github-com-protonmail-go-crypto
   (package
+    ;; XXX: 1.3.0 was released in 2025 which is no longer compatible with
+    ;; current golang.org/x/crypto; master branch provides comparability but
+    ;; it's not tagged yet, switch back to tag when released.
+    ;; See: <https://github.com/ProtonMail/go-crypto/issues/180>.
     (name "go-github-com-protonmail-go-crypto")
-    (version "1.3.0")
+    (properties '((commit . "a8cc4f09f6cb247ab2180b45029ddaa736674f87")
+                  (revision . "0")))
+    (version (git-version "1.3.0"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/ProtonMail/go-crypto";)
-             (commit (string-append "v" version))))
+              (commit (assoc-ref properties 'commit))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0h4zhdxpg5qh5li4r2nsjya757d9kghqjxg3cch4pm3wqvkpjg1h"))))
+        (base32 "19g0vhg83yaa81l0qhlq4pbkid7nv57p7s5kbmysbaf60jmv7887"))))
     (build-system go-build-system)
     (arguments
      (list
       #:skip-build? #t
       #:import-path "github.com/ProtonMail/go-crypto"
       #:test-flags
-      (if (target-riscv64?)
-          ;; This test times out on riscv64-linux.
-          #~(list "-skip" "TestEndToEnd")
-          #~'())))
+      #~(list "-short"                               ;tests may timeout in CI
+              #$@(if (target-riscv64?)
+                    ;; This test times out on riscv64-linux.
+                    '(list "-skip" "TestEndToEnd")
+                    '()))))
     (propagated-inputs
      (list go-github-com-cloudflare-circl
            go-golang-org-x-crypto))

Reply via email to