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

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 70701 in the body.
You can then email your comments to 70701 AT debbugs.gnu.org in the normal way.

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





Information forwarded to guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Wed, 04 Sep 2024 19:25:02 GMT) Full text and rfc822 format available.

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

From: paul <goodoldpaul <at> autistici.org>
To: 70701 <at> debbugs.gnu.org
Subject: Re: Add rust-pcsc
Date: Wed, 4 Sep 2024 21:23:06 +0200
Hi Guix,


this is a friendly ping :) I'm sending an updated patchset rebased on 
current master.


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, 04 Sep 2024 21:00:02 GMT) Full text and rfc822 format available.

Message #17 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 v2 2/2] gnu: Add rust-pcsc-2.
Date: Wed,  4 Sep 2024 22:58:37 +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 c8a261225d..1d7fa1b8df 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.45.2





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

Message #20 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 v2 1/2] gnu: Add rust-pcsc-sys-1.
Date: Wed,  4 Sep 2024 22:58:36 +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 0cdb071ea0..c8a261225d 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>
@@ -114,6 +114,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 selinux)
   #:use-module (gnu packages sequoia)
   #:use-module (gnu packages serialization)
@@ -52231,6 +52232,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: 9a03ab25ba889be27b34d5cebea05d5ac3b0a033
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Sun, 20 Oct 2024 22:56:01 GMT) Full text and rfc822 format available.

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

From: paul <goodoldpaul <at> autistici.org>
To: 70701 <at> debbugs.gnu.org
Subject: Re: Add rust-pcsc
Date: Mon, 21 Oct 2024 00:55:31 +0200
[Message part 1 (text/plain, inline)]
Hi Guix , this is a friendly ping. I'm sending a patchset rebased on 
current master.

Thank you for your work,

giacomo
[Message part 2 (text/html, inline)]

Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Sun, 20 Oct 2024 22:57:02 GMT) Full text and rfc822 format available.

Message #26 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 v2 2/2] gnu: Add rust-pcsc-2.
Date: Mon, 21 Oct 2024 00:55:34 +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 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





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#70701; Package guix-patches. (Sun, 20 Oct 2024 22:57:02 GMT) Full text and rfc822 format available.

Message #29 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 v2 1/2] gnu: Add rust-pcsc-sys-1.
Date: Mon, 21 Oct 2024 00:55:33 +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 c08ccd29fd..bb4b28b926 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>
@@ -114,6 +114,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 selinux)
   #:use-module (gnu packages sequoia)
   #:use-module (gnu packages serialization)
@@ -52231,6 +52232,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: 5ab3c4c1e43ebb637551223791db0ea3519986e1
-- 
2.46.0





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Mon, 21 Oct 2024 05:23:02 GMT) Full text and rfc822 format available.

Notification sent to paul <goodoldpaul <at> autistici.org>:
bug acknowledged by developer. (Mon, 21 Oct 2024 05:23:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 70701-done <at> debbugs.gnu.org
Subject: Re: [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1.
Date: Mon, 21 Oct 2024 08:20:42 +0300
[Message part 1 (text/plain, inline)]
Thanks for the patches! Unfortunately while I was taking forever to
actually apply them I duplicated your work and so these are already on
the rust-team branch.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Nov 2024 12:24:06 GMT) Full text and rfc822 format available.

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.