@@ -46244,6 +46244,29 @@ (define-public rust-pcsc-sys-1
(description "Low-level bindings to the PC/SC C API.")
(license license:expat)))
+(define-public rust-pcsc-2
+ (package
+ (name "rust-pcsc")
+ (version "2.8.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pcsc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "027a2s8lp6w025aa758s84qszcwkyg92s1mhvplrqzbbh5zrvva5"))))
+ (build-system cargo-build-system)
+ (native-inputs (list pkg-config))
+ (inputs
+ (list pcsc-lite))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-pcsc-sys" ,rust-pcsc-sys-1))))
+ (home-page "https://github.com/bluetech/pcsc-rust")
+ (synopsis "PC/SC API for smart card communication")
+ (description "Bindings to the PC/SC API for smart card communication.")
+ (license license:expat)))
+
(define-public rust-pdcurses-sys-0.7
(package
(name "rust-pdcurses-sys")