diff options
| author | NoƩ Lopez <noelopez@free.fr> | 2026-03-12 19:37:25 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-22 09:37:33 +0100 |
| commit | efb6a95110943fc4dcf45c25d9df49f1eff8c5e6 (patch) | |
| tree | 76e46c0a62d9ebfe14c605c6c76e1330197f1ee7 /gnu/packages | |
| parent | db8edf95ccd2488e6b2553263de81900b2960bf2 (diff) | |
gnu: Add python-yubico.
* gnu/packages/security-token.scm (python-yubico): New variable.
Change-Id: Id7c14be9b874b49e5c5515f67c64a62ccfb0c4d2
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/security-token.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index 55dc1f41afa..8dc5c4b18d9 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm | |||
| @@ -93,6 +93,7 @@ | |||
| 93 | #:use-module (gnu packages polkit) | 93 | #:use-module (gnu packages polkit) |
| 94 | #:use-module (gnu packages python) | 94 | #:use-module (gnu packages python) |
| 95 | #:use-module (gnu packages python-build) | 95 | #:use-module (gnu packages python-build) |
| 96 | #:use-module (gnu packages python-check) | ||
| 96 | #:use-module (gnu packages python-crypto) | 97 | #:use-module (gnu packages python-crypto) |
| 97 | #:use-module (gnu packages python-xyz) | 98 | #:use-module (gnu packages python-xyz) |
| 98 | #:use-module (gnu packages swig) | 99 | #:use-module (gnu packages swig) |
| @@ -541,6 +542,34 @@ and other operations. It includes a library and a command-line tool.") | |||
| 541 | ;; majority of files are licensed under bsd-2. | 542 | ;; majority of files are licensed under bsd-2. |
| 542 | (license license:bsd-2))) | 543 | (license license:bsd-2))) |
| 543 | 544 | ||
| 545 | (define-public python-yubico | ||
| 546 | (package | ||
| 547 | (name "python-yubico") | ||
| 548 | (version "1.3.3") | ||
| 549 | (source | ||
| 550 | (origin | ||
| 551 | (method git-fetch) | ||
| 552 | (uri (git-reference | ||
| 553 | (url "https://github.com/Yubico/python-yubico") | ||
| 554 | (commit (string-append name "-" version)))) | ||
| 555 | (file-name (git-file-name name version)) | ||
| 556 | (sha256 | ||
| 557 | (base32 | ||
| 558 | "1bn1v3b0cdjziaz9qiix52z3f8yw74m9mxbv0n18np1lc4cbjyvk")))) | ||
| 559 | (build-system pyproject-build-system) | ||
| 560 | (arguments | ||
| 561 | (list | ||
| 562 | #:test-flags | ||
| 563 | #~(list "--ignore=test/usb/test_yubikey_usb_hid.py"))) | ||
| 564 | (propagated-inputs (list python-pyusb)) | ||
| 565 | (native-inputs (list python-setuptools | ||
| 566 | python-pytest)) | ||
| 567 | (home-page "https://github.com/Yubico/python-yubico") | ||
| 568 | (synopsis "Python library for Yubico's YubiKeys") | ||
| 569 | (description "This package provides a python library for talking to Yubico's | ||
| 570 | @code{YubiKeys}.") | ||
| 571 | (license license:bsd-2))) | ||
| 572 | |||
| 544 | (define-public yubikey-personalization | 573 | (define-public yubikey-personalization |
| 545 | (package | 574 | (package |
| 546 | (name "yubikey-personalization") | 575 | (name "yubikey-personalization") |
