diff options
author | Franz Geffke <franz@pantherx.org> | 2023-11-06 20:08:14 +0000 |
---|---|---|
committer | Franz Geffke <franz@pantherx.org> | 2023-11-06 20:08:14 +0000 |
commit | 47b4c9c854915df93893dbaa993accfacf9027fe (patch) | |
tree | 4f9b1742d63fcfbc94cc6b8d84f76c4d00c3a0b7 /px/packages/security-token.scm | |
parent | 0b426d7b7ed8e176bf464ef9e0683f74a6c9d20f (diff) |
rewrite: apply guix-reference formatting; cleanup some module imports
Diffstat (limited to 'px/packages/security-token.scm')
-rw-r--r-- | px/packages/security-token.scm | 108 |
1 files changed, 53 insertions, 55 deletions
diff --git a/px/packages/security-token.scm b/px/packages/security-token.scm index 907cb75..de9a2eb 100644 --- a/px/packages/security-token.scm +++ b/px/packages/security-token.scm @@ -1,6 +1,7 @@ (define-module (px packages security-token) #:use-module (gnu packages) - #:use-module ((guix licenses) #:prefix license:) + #:use-module ((guix licenses) + #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix gexp) @@ -42,63 +43,60 @@ (define-public acsccid (package - (name "acsccid") - (version "1.1.8") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/acshk/acsccid/archive/v" version ".tar.gz")) - (sha256 - (base32 - "1ip7lrhnrnag96x29lfpb663i2y6y0631p7i14sialkz1sr5xlb8")))) - (build-system gnu-build-system) - (arguments - `(#:configure-flags (list (string-append "--enable-usbdropdir=" - %output "/pcsc/drivers")) - #:phases - (modify-phases %standard-phases - (add-after 'configure 'patch-Makefile - (lambda _ - (substitute* "src/Makefile.in" - (("/bin/echo") (which "echo"))) - #t))))) - (native-inputs - `(("autoconf" ,autoconf) - ("automake" ,automake) - ("flex" ,flex) - ("gettext" ,gettext-minimal) - ("libtool" ,libtool) - ("pcsc-lite" ,pcsc-lite) ; only required for headers - ("perl" ,perl) - ("pkg-config" ,pkg-config))) - (inputs - `(("libusb" ,libusb))) - (home-page "https://github.com/acshk/acsccid") - (synopsis "ACS CCID PC/SC Driver for Linux/Mac OS X") - (description - "acsccid is a PC/SC driver for Linux/Mac OS X and it supports ACS CCID smart card + (name "acsccid") + (version "1.1.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/acshk/acsccid/archive/v" + version ".tar.gz")) + (sha256 + (base32 "1ip7lrhnrnag96x29lfpb663i2y6y0631p7i14sialkz1sr5xlb8")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags (list (string-append "--enable-usbdropdir=" %output + "/pcsc/drivers")) + #:phases (modify-phases %standard-phases + (add-after 'configure 'patch-Makefile + (lambda _ + (substitute* "src/Makefile.in" + (("/bin/echo") + (which "echo"))) #t))))) + (native-inputs `(("autoconf" ,autoconf) + ("automake" ,automake) + ("flex" ,flex) + ("gettext" ,gettext-minimal) + ("libtool" ,libtool) + ("pcsc-lite" ,pcsc-lite) ;only required for headers + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs `(("libusb" ,libusb))) + (home-page "https://github.com/acshk/acsccid") + (synopsis "ACS CCID PC/SC Driver for Linux/Mac OS X") + (description + "acsccid is a PC/SC driver for Linux/Mac OS X and it supports ACS CCID smart card readers. This library provides a PC/SC IFD handler implementation and communicates with the readers through the PC/SC Lite resource manager (pcscd).") - (license license:lgpl2.1+))) + (license license:lgpl2.1+))) (define-public id-card-reader (package - (name "id-card-reader") - (version "0.1.27") - (source - (origin - (method url-fetch) - (uri (string-append - "https://source.pantherx.org/" name "_v" version ".tgz")) - (sha256 (base32 "0xkly0qhgr96y6qk4h24a5llm6yl650ad26i2nbilzx1csyxryf2")))) - (build-system python-build-system) - (arguments - `(#:tests? #f)) - (inputs - `(("python-pillow" ,python-pillow) - ("python-pyscard" ,python-pyscard))) - (home-page "https://www.pantherx.org/") - (synopsis " ") - (description " ") - (license license:expat))) - + (name "id-card-reader") + (version "0.1.27") + (source + (origin + (method url-fetch) + (uri (string-append "https://source.pantherx.org/" name "_v" version + ".tgz")) + (sha256 + (base32 "0xkly0qhgr96y6qk4h24a5llm6yl650ad26i2nbilzx1csyxryf2")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (inputs `(("python-pillow" ,python-pillow) + ("python-pyscard" ,python-pyscard))) + (home-page "https://www.pantherx.org/") + (synopsis " ") + (description " ") + (license license:expat))) |