unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dhruvin Gandhi via Guix-patches via <guix-patches@gnu.org>
To: 49464@debbugs.gnu.org
Cc: Dhruvin Gandhi <contact@dhruvin.dev>
Subject: [bug#49464] [PATCH v2 1/3] gnu: python-fido2: Update to 0.9.1.
Date: Thu,  8 Jul 2021 17:53:18 +0530	[thread overview]
Message-ID: <20210708122320.23196-2-contact@dhruvin.dev> (raw)
In-Reply-To: <20210708122320.23196-1-contact@dhruvin.dev>

* gnu/packages/security-token.scm (python-fido2): Update to 0.9.1.
---
 gnu/packages/security-token.scm | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index f8c9661df1..5ee3cb83f0 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Raphaël Mélotte <raphael.melotte@mind.be>
 ;;; Copyright © 2021 Antero Mejr <antero@kodmin.com>
 ;;; Copyright © 2021 Sergey Trofimov <sarg@sarg.org.ru>
+;;; Copyright © 2021 Dhruvin Gandhi <contact@dhruvin.dev>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -593,7 +594,7 @@ your existing infrastructure.")
 (define-public python-fido2
   (package
     (name "python-fido2")
-    (version "0.5.0")
+    (version "0.9.1")
     (source (origin
               (method url-fetch)
               (uri
@@ -602,10 +603,21 @@ your existing infrastructure.")
                 version "/fido2-" version ".tar.gz"))
               (sha256
                (base32
-                "1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3"))
+                "0vpyknka7wa4jl1xhvhli48wk70dih7hm45kdrchf8wf4cjyx046"))
+              (modules '((guix build utils)))
               (snippet
-               ;; Remove bundled dependency.
-               #~(delete-file "fido2/public_suffix_list.dat"))))
+               #~(begin
+                   ;; Remove bundled dependency.
+                   (delete-file "fido2/public_suffix_list.dat")
+                   ;; Upstream: To be deleted in the next release.
+                   (delete-file "fido2/nfc.py")
+                   ;; Remove unused platform code.
+                   (delete-file "fido2/hid/freebsd.py")
+                   (delete-file "fido2/hid/macos.py")
+                   (delete-file "fido2/hid/openbsd.py")
+                   (delete-file "fido2/hid/windows.py")
+                   ;; See https://bugs.python.org/issue16396.
+                   (delete-file "fido2/win_api.py")))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -621,7 +633,8 @@ your existing infrastructure.")
              #t)))))
     (propagated-inputs
      `(("python-cryptography" ,python-cryptography)
-       ("python-six" ,python-six)))
+       ("python-six" ,python-six)
+       ("python-pyscard" ,python-pyscard)))
     (native-inputs
      `(("python-mock" ,python-mock)
        ("python-pyfakefs" ,python-pyfakefs)
-- 
2.32.0





  reply	other threads:[~2021-07-08 12:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-08 11:15 [bug#49464] [PATCH 0/3] Update yubikey-manager to version 4.0.3 Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21 ` [bug#49464] [PATCH 1/3] gnu: python-fido2: Update to 0.9.1 Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21   ` [bug#49464] [PATCH 2/3] gnu: Add python-makefun Dhruvin Gandhi via Guix-patches via
2021-07-08 11:21   ` [bug#49464] [PATCH 3/3] gnu: python-yubikey-manager: Update to 4.0.3 Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23 ` [bug#49464] [PATCH v2 0/3] With updated copyright and lint suggestions Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23   ` Dhruvin Gandhi via Guix-patches via [this message]
2021-07-08 12:23   ` [bug#49464] [PATCH v2 2/3] gnu: Add python-makefun Dhruvin Gandhi via Guix-patches via
2021-07-08 12:23   ` [bug#49464] [PATCH v2 3/3] gnu: python-yubikey-manager: Update to 4.0.3 Dhruvin Gandhi via Guix-patches via
2023-08-07 18:11     ` bug#49464: [PATCH 0/3] Update yubikey-manager to version 4.0.3 Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210708122320.23196-2-contact@dhruvin.dev \
    --to=guix-patches@gnu.org \
    --cc=49464@debbugs.gnu.org \
    --cc=contact@dhruvin.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).