[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: python-yubikey-manager: Fix libykpers reference.
From: |
guix-commits |
Subject: |
07/13: gnu: python-yubikey-manager: Fix libykpers reference. |
Date: |
Fri, 30 Jul 2021 19:04:27 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 0e9b77d8d08e0270f372f122a6e26d2a95c249c0
Author: Dhruvin Gandhi <contact@dhruvin.dev>
AuthorDate: Sat Jul 3 10:02:17 2021 +0530
gnu: python-yubikey-manager: Fix libykpers reference.
* gnu/packages/security-token.scm (python-yubikey-manager): Fix libykpers
reference.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/security-token.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index f8c9661..1f60e25 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.
;;;
@@ -657,6 +658,23 @@ implementing a Relying Party.")
(base32
"11rsmcaj60k3y5m5gdhr2nbbz0w5dm3m04klyxz0fh5hnpcmr7fm"))))
(build-system python-build-system)
+ (arguments
+ '(#:modules ((srfi srfi-1)
+ (guix build utils)
+ (guix build python-build-system))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-libykpers-reference
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "ykman/driver_otp.py"
+ (("Ykpers\\('ykpers-1', '1'\\)")
+ (string-append
+ "Ykpers('"
+ (find (negate symbolic-link?)
+ (find-files (assoc-ref inputs "yubikey-personalization")
+ "^libykpers-.*\\.so\\..*"))
+ "')")))
+ #t)))))
(propagated-inputs
`(("python-six" ,python-six)
("python-pyscard" ,python-pyscard)
- branch master updated (721e380 -> db2c7e7), guix-commits, 2021/07/30
- 01/13: gnu: python-onnx: Update to 1.9.0., guix-commits, 2021/07/30
- 02/13: gnu: python-onnx: Move comment to the patch header., guix-commits, 2021/07/30
- 03/13: gnu: python-onnx: Delete bundled software., guix-commits, 2021/07/30
- 04/13: gnu: python-onnx: Install libonnx.so and libonnx_proto.so., guix-commits, 2021/07/30
- 05/13: gnu: python-onnx: Rename to "onnx"., guix-commits, 2021/07/30
- 06/13: gnu: onnx: Change source to 'git-fetch'., guix-commits, 2021/07/30
- 07/13: gnu: python-yubikey-manager: Fix libykpers reference.,
guix-commits <=
- 10/13: gnu: Add libmobi., guix-commits, 2021/07/30
- 11/13: gnu: racket: Update to 8.2., guix-commits, 2021/07/30
- 13/13: gnu: racket-minimal: Bootstrap from C., guix-commits, 2021/07/30
- 09/13: gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 08/13: gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 12/13: gnu: racket: Unbundle racket-minimal., guix-commits, 2021/07/30