GNU bug report logs -
#70701
Add rust-pcsc
Previous Next
Reported by: paul <goodoldpaul <at> autistici.org>
Date: Wed, 1 May 2024 18:37:01 UTC
Severity: normal
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 70701 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-pcsc-2): New variable.
Change-Id: I899975f0d5a2f045bf0cee633526f1ecfdcb37c9
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb4b28b926..f590d73514 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52254,6 +52254,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")
--
2.46.0
This bug report was last modified 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.