[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/49: gnu: opensc: Switch to new package style.
From: |
guix-commits |
Subject: |
42/49: gnu: opensc: Switch to new package style. |
Date: |
Mon, 24 Jun 2024 09:04:38 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit e121ecccdc5fe3b7422b85db9c3451e29cbac0d1
Author: Timotej Lazar <timotej.lazar@araneo.si>
AuthorDate: Sat May 18 13:39:38 2024 +0200
gnu: opensc: Switch to new package style.
* gnu/packages/security-token.scm (opensc)[arguments]: Use g-exps.
Change-Id: I3e59323deb804ba98669d51771ccfa05a92723e3
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/security-token.scm | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index e569d071b8..da2957fe7a 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -366,20 +366,19 @@ website for more information about Yubico and the
YubiKey.")
"0yxk97aj29pybvya6r9ix9xh00hdzcfrc2lcns4vb3kwpplamjr3"))))
(build-system gnu-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- ;; By setting an absolute path here, we arrange for OpenSC to
- ;; successfully dlopen libpcsclite.so.1 by default. The user can
- ;; still override this if they want to, by specifying a custom OpenSC
- ;; configuration file at runtime.
- (add-after 'unpack 'set-default-libpcsclite.so.1-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((libpcsclite (search-input-file inputs
- "/lib/libpcsclite.so.1")))
- (substitute* "configure"
- (("DEFAULT_PCSC_PROVIDER=\"libpcsclite\\.so\\.1\"")
- (string-append
- "DEFAULT_PCSC_PROVIDER=\"" libpcsclite "\"")))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; By setting an absolute path here, we arrange for OpenSC to
+ ;; successfully dlopen libpcsclite.so.1 by default. The user can
+ ;; still override this if they want to, by specifying a custom OpenSC
+ ;; configuration file at runtime.
+ (add-after 'unpack 'set-default-libpcsclite.so.1-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libpcsclite (search-input-file inputs
"/lib/libpcsclite.so.1")))
+ (substitute* "configure"
+ (("DEFAULT_PCSC_PROVIDER=\"libpcsclite\\.so\\.1\"")
+ (string-append "DEFAULT_PCSC_PROVIDER=\"" libpcsclite
"\"")))))))))
(inputs
(list readline openssl-1.1 pcsc-lite ccid))
(native-inputs
- 04/49: services: mpd: Fix log to file., (continued)
- 04/49: services: mpd: Fix log to file., guix-commits, 2024/06/24
- 16/49: gnu: subversion: Update to 1.14.3., guix-commits, 2024/06/24
- 31/49: gnu: guix: Add imagemagick, perl and use full graphviz., guix-commits, 2024/06/24
- 38/49: gnu: godot-lts: Update to 3.5.3., guix-commits, 2024/06/24
- 27/49: doc: contributing: Mention 'guix git authenticate'., guix-commits, 2024/06/24
- 33/49: gnu: openresolv: Update to 3.13.2., guix-commits, 2024/06/24
- 45/49: doc: Add message for common error about make check-system., guix-commits, 2024/06/24
- 41/49: gnu: opensc: Update to 0.25.1., guix-commits, 2024/06/24
- 23/49: gnu: grub: Remove input labels and use gexps., guix-commits, 2024/06/24
- 47/49: gnu: ucd: Update to 15.1.0., guix-commits, 2024/06/24
- 42/49: gnu: opensc: Switch to new package style.,
guix-commits <=