Subject: [bug#67356] [PATCH 2/2] gnu: contributing: solo2 library and CLI

From: [email-masked]
Date: Wed, 22 Nov 2023 08:44:05 +0000

Change-Id: Id3173e3eaf1f89eb6c799ae27dc69afc7f929f16
---
  gnu/packages/security-token.scm | 21 +++++++++++----------
  1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/security-token.scm 
b/gnu/packages/security-token.scm
index 1e77e01374..bf1c43f054 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -1110,15 +1110,16 @@ (define-public pcsc-cyberjack
  (define-public solo2-cli
    (package
      (name "solo2-cli")
-    (version "0.2.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/solokeys/" name
-                           "/archive/refs/tags/v" version ".tar.gz"))
-       (sha256
-        ;; (base32 
"0ck95limlnkva3vg3mcmnpa2y1n9dnka6d8njja852sa2zfzk7mf"))))
-        (base32 
"1d2z6glya1axnbr6p3p926b0jdmrz10rf210lmlfk2zkwrg0r8s9"))))
+    (version "v0.2.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/solokeys/solo2-cli")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                
"14jzc3kpr3850lg22xwbxrfvyy1xqjf39x3h4l565npq5bk4xnpf"))))
      (build-system cargo-build-system)
      (arguments
       `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
@@ -1180,6 +1181,6 @@ (define-public solo2-cli
      (home-page "https://github.com/solokeys/solo2-cli")
      (native-inputs (list perl pkg-config))
      (inputs (list libevdev libgudev pcsc-lite))
-    (synopsis "solo2 library and cli")
+    (synopsis "Solo2 library and cli")
      (description "This provides the tools to manage solokeys 2 
devices")
      (license (list license:expat license:asl2.0))))
-- 
2.41.0