Revert "gnu: pcsc-lite: Update to 2.1.0."

This reverts commit a8f0e8a31d.

It leads to 3799 dependent packages being rebuilt, so it's not suitable for
the master branch.
This commit is contained in:
Ricardo Wurmus 2024-05-06 19:01:38 +02:00
parent 28e74f49fe
commit 752c089b4a
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -83,7 +83,6 @@ (define-module (gnu packages security-token)
#:use-module (gnu packages tex) #:use-module (gnu packages tex)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages python) #:use-module (gnu packages python)
#:use-module (gnu packages python-build) #:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto) #:use-module (gnu packages python-crypto)
@ -241,33 +240,24 @@ (define-public softhsm
(define-public pcsc-lite (define-public pcsc-lite
(package (package
(name "pcsc-lite") (name "pcsc-lite")
(version "2.1.0") (version "1.9.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://pcsclite.apdu.fr/files/" (uri (string-append "https://pcsclite.apdu.fr/files/"
"pcsc-lite-" version ".tar.bz2")) "pcsc-lite-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1aimbddk6jx828xrw1vg2g82i11v55inhr9jqhmixj24qwfbdjl5")))) "12923c6l5qzga1xlcxvm0vzbqrxnxq1qgzlrxf2y5gpcaz2q0bah"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers" `(#:configure-flags '("--enable-usbdropdir=/var/lib/pcsc/drivers"
"--disable-libsystemd") "--disable-libsystemd")))
#:phases ,#~(modify-phases %standard-phases
(add-after 'unpack 'set-policy-dir
(lambda _
(substitute* "configure"
(("polkit_policy_dir=.*")
(string-append "polkit_policy_dir=\""
#$output "/share/polkit-1/actions\""))))))))
(native-inputs (native-inputs
(list flex (list flex
perl ;for pod2man perl ;for pod2man
pkg-config)) pkg-config))
(inputs (inputs
(list python (list python eudev))
eudev
polkit))
(home-page "https://pcsclite.apdu.fr/") (home-page "https://pcsclite.apdu.fr/")
(synopsis "Middleware to access a smart card using PC/SC") (synopsis "Middleware to access a smart card using PC/SC")
(description (description