gnu: Add python-u2flib-host.

* gnu/packages/finance.scm (python-u2flib-host): New variable.
This commit is contained in:
Andreas Enge 2023-02-19 22:18:19 +01:00
parent 8523d79ff5
commit a0006f4680
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2023 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2016, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
@ -1040,6 +1040,27 @@ (define-public python-mnemonic
of Bitcoin BIP-0039.")
(license license:expat)))
(define-public python-u2flib-host
;; The package is obsolete and superseded by python-fido2, but
;; needed for python-ledgerblue@0.1.44.
(package
(name "python-u2flib-host")
(version "3.0.3")
(source (origin
(method url-fetch)
(uri (pypi-uri "python-u2flib-host" version))
(sha256
(base32
"02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb"))))
(build-system python-build-system)
(propagated-inputs (list python-hidapi python-requests))
(native-inputs (list python-cryptography))
(home-page "https://github.com/Yubico/python-u2flib-host")
(synopsis "Python based U2F host library")
(description
"The package provides library functionality for communicating with a U2F device over USB.")
(license license:bsd-2)))
(define-public python-ledgerblue
(package
(name "python-ledgerblue")