guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

235/424: gnu: Add rust-pcsc-2.


From: guix-commits
Subject: 235/424: gnu: Add rust-pcsc-2.
Date: Sun, 10 Nov 2024 05:42:14 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit eee34a2109557262ebd5047362b244b3d1074320
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 22 21:21:43 2024 +0300

    gnu: Add rust-pcsc-2.
    
    * gnu/packages/crates-io.scm (rust-pcsc-2): New variable.
    
    Change-Id: Ieed76d93654b3372a8a1f183eb301903230f742b
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 894529d87e..2c75bb12fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52937,6 +52937,31 @@ library.")
     (description "Low level bindings to PCRE2.")
     (license (list license:expat license:unlicense))))
 
+(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)
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-pcsc-sys" ,rust-pcsc-sys-1))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list pcsc-lite))
+    (home-page "https://github.com/bluetech/pcsc-rust";)
+    (synopsis "Bindings to the PC/SC API for smart card communication")
+    (description
+     "This package provides Bindings to the PC/SC API for smart card 
communication.")
+    (license license:expat)))
+
 (define-public rust-pcsc-sys-1
   (package
     (name "rust-pcsc-sys")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]