GNU bug report logs - #70701
Add rust-pcsc

Previous Next

Package: guix-patches;

Reported by: paul <goodoldpaul <at> autistici.org>

Date: Wed, 1 May 2024 18:37:01 UTC

Severity: normal

To reply to this bug, email your comments to 70701 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Wed, 01 May 2024 18:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to paul <goodoldpaul <at> autistici.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 01 May 2024 18:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: paul <goodoldpaul <at> autistici.org>
To: guix-patches <at> gnu.org
Subject: Add rust-pcsc
Date: Wed, 1 May 2024 20:35:42 +0200
Hello Guix,

I'm sending a couple of patches adding rust-pcsc


Thank you for your work,

giacomo





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Wed, 01 May 2024 18:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 70701 <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Leidi <goodoldpaul <at> autistici.org>
To: 70701 <at> debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>
Subject: [PATCH 2/2] gnu: Add rust-pcsc-2.
Date: Wed,  1 May 2024 20:37:24 +0200
* 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 d7fc73d29f..a6d23a2f64 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")
-- 
2.41.0





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Wed, 01 May 2024 18:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 70701 <at> debbugs.gnu.org (full text, mbox):

From: Giacomo Leidi <goodoldpaul <at> autistici.org>
To: 70701 <at> debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul <at> autistici.org>
Subject: [PATCH 1/2] gnu: Add rust-pcsc-sys-1.
Date: Wed,  1 May 2024 20:37:23 +0200
* gnu/packages/crates-io.scm (rust-pcsc-sys-1): New variable.

Change-Id: I22bbd64103cea09b86ba7cfab7a897d61d61ac7d
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a67d3d74bb..d7fc73d29f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2019 Ivan Petkov <ivanppetkov <at> gmail.com>
 ;;; Copyright © 2019-2024 Efraim Flashner <efraim <at> flashner.co.il>
 ;;; Copyright © 2019-2024 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
-;;; Copyright © 2019 Giacomo Leidi <goodoldpaul <at> autistici.org>
+;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2019, 2020 John Soo <jsoo1 <at> asu.edu>
 ;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
@@ -110,6 +110,7 @@ (define-module (gnu packages crates-io)
   #:use-module (gnu packages python)
   #:use-module (gnu packages rust)
   #:use-module (gnu packages rust-apps)
+  #:use-module (gnu packages security-token)
   #:use-module (gnu packages sequoia)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages shells)
@@ -46221,6 +46222,28 @@ (define-public rust-pcre2-sys-0.2
     (description "Low level bindings to PCRE2.")
     (license (list license:expat license:unlicense))))
 
+(define-public rust-pcsc-sys-1
+  (package
+    (name "rust-pcsc-sys")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pcsc-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "00vlrfv3kcr49ajbzzr1b4ls7g28f97mj9vdjdzick9c1yl9p7mh"))))
+    (build-system cargo-build-system)
+    (native-inputs (list pkg-config))
+    (inputs
+     (list pcsc-lite))
+    (arguments
+     `(#:cargo-inputs (("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (home-page "https://github.com/bluetech/pcsc-rust")
+    (synopsis "Low-level bindings to the PC/SC C API")
+    (description "Low-level bindings to the PC/SC C API.")
+    (license license:expat)))
+
 (define-public rust-pdcurses-sys-0.7
   (package
     (name "rust-pdcurses-sys")

base-commit: 7d4ae2fca723114fb1df56de33b82177fbc4d0a6
-- 
2.41.0





This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.