~ruther/guix-local

bc610da8554826dd31f8ddee54366fa4ac8e70c7 — Nicolas Graves 3 months ago 06412fb
gnu: python-fido2: Update to 2.0.0.

* gnu/packages/security-token.scm (python-fido2): Update to 2.0.0.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Add --no-device.

Change-Id: I892d6471968551c553b5e45ab6b926646176d8d2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 15 insertions(+), 13 deletions(-)

M gnu/packages/security-token.scm
M gnu/packages/security-token.scm => gnu/packages/security-token.scm +15 -13
@@ 796,22 796,24 @@ your existing infrastructure.")
(define-public python-fido2
  (package
    (name "python-fido2")
    (version "1.1.1")
    (source (origin
              (method url-fetch)
              (uri
               (string-append
                "https://github.com/Yubico/python-fido2/releases/download/"
                version "/fido2-" version ".tar.gz"))
              (sha256
               (base32
                "1hwz0xagkmy6hhcyfl66dxf2vfa69lqqqjrv70vw7harik59bi2x"))
              (snippet
               ;; Remove bundled dependency.
               '(delete-file "fido2/public_suffix_list.dat"))))
    (version "2.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/Yubico/python-fido2")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "043ldwaxryndh6nwi0j4ysk6phzpkzdik8i15mmahnx3gl1qibif"))
       (snippet
        ;; Remove bundled dependency.
        '(delete-file "fido2/public_suffix_list.dat"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      ;; XXX: Tests timeout without this flag.
      #:test-flags #~(list "--no-device")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'install-public-suffix-list