lilyp pushed a commit to branch gnome-team
in repository guix.

commit 7e2a43bf751a2299371d734cfc6ec9ee60768f73
Author: Rodion Goritskov <[email protected]>
AuthorDate: Wed Jul 3 23:45:21 2024 +0100

    gnu: Add go-github-com-go-webauthn-x.
    
    * gnu/packages/golang-web.scm (go-github-com-go-webauthn-x): New variable.
    
    Signed-off-by: Sharlatan Hellseher <[email protected]>
    Change-Id: Ia7ebf7cfc9c9e588e9ee968603a5c6ea5237d75d
---
 gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 051fa75b92..ec99f9a6bf 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -876,6 +876,43 @@ language.")
      "This package provides Golang bindings for the Telegram Bot API.")
     (license license:expat)))
 
+
+(define-public go-github-com-go-webauthn-x
+  (package
+    (name "go-github-com-go-webauthn-x")
+    (version "0.1.12")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/go-webauthn/x";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1h2ylzzh5xismgkz0gar3k8lwdwqqc2np4z5gmi1b5chh6qwy1bs"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:tests? #f ; no tests
+      #:import-path "github.com/go-webauthn/x"
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; Source only package.
+          (delete 'build))))
+    (propagated-inputs
+     (list go-golang-org-x-crypto))
+    (home-page "https://github.com/go-webauthn/x";)
+    (synopsis "Low level packages for WebAuthn")
+    (description
+     "This package implements a low level functionality for
+@url{https://github.com/go-webauthn/webauthn,WebAuthn} library.  It was forked
+from CloudFlare's github.com/cloudflare/cfssl/revoke.")
+    (license (list
+              ;; For the CloudFlare's part: revoke/LICENSE.
+              license:bsd-2
+              ;; For the WebAuthn's fork: LICENSE.
+              license:bsd-3))))
+
 (define-public go-github-com-goccy-go-json
   (package
     (name "go-github-com-goccy-go-json")

Reply via email to