* [bug#70701] [PATCH 1/2] gnu: Add rust-pcsc-sys-1.
2024-05-01 18:35 [bug#70701] Add rust-pcsc paul via Guix-patches via
@ 2024-05-01 18:37 ` Giacomo Leidi via Guix-patches via
2024-05-01 18:37 ` [bug#70701] [PATCH 2/2] gnu: Add rust-pcsc-2 Giacomo Leidi via Guix-patches via
2024-09-04 19:23 ` [bug#70701] Add rust-pcsc paul via Guix-patches via
` (3 subsequent siblings)
4 siblings, 1 reply; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-05-01 18:37 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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@gmail.com>
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#70701] [PATCH 2/2] gnu: Add rust-pcsc-2.
2024-05-01 18:37 ` [bug#70701] [PATCH 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
@ 2024-05-01 18:37 ` Giacomo Leidi via Guix-patches via
0 siblings, 0 replies; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-05-01 18:37 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#70701] Add rust-pcsc
2024-05-01 18:35 [bug#70701] Add rust-pcsc paul via Guix-patches via
2024-05-01 18:37 ` [bug#70701] [PATCH 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
@ 2024-09-04 19:23 ` paul via Guix-patches via
2024-09-04 20:58 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
` (2 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: paul via Guix-patches via @ 2024-09-04 19:23 UTC (permalink / raw)
To: 70701
Hi Guix,
this is a friendly ping :) I'm sending an updated patchset rebased on
current master.
Thank you for your work,
giacomo
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1.
2024-05-01 18:35 [bug#70701] Add rust-pcsc paul via Guix-patches via
2024-05-01 18:37 ` [bug#70701] [PATCH 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
2024-09-04 19:23 ` [bug#70701] Add rust-pcsc paul via Guix-patches via
@ 2024-09-04 20:58 ` Giacomo Leidi via Guix-patches via
2024-09-04 20:58 ` [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2 Giacomo Leidi via Guix-patches via
2024-10-20 22:55 ` [bug#70701] Add rust-pcsc paul via Guix-patches via
2024-10-20 22:55 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
4 siblings, 1 reply; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-09-04 20:58 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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@gmail.com>
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2.
2024-09-04 20:58 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
@ 2024-09-04 20:58 ` Giacomo Leidi via Guix-patches via
0 siblings, 0 replies; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-09-04 20:58 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#70701] Add rust-pcsc
2024-05-01 18:35 [bug#70701] Add rust-pcsc paul via Guix-patches via
` (2 preceding siblings ...)
2024-09-04 20:58 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
@ 2024-10-20 22:55 ` paul via Guix-patches via
2024-10-20 22:55 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
4 siblings, 0 replies; 10+ messages in thread
From: paul via Guix-patches via @ 2024-10-20 22:55 UTC (permalink / raw)
To: 70701
[-- Attachment #1: Type: text/plain, Size: 121 bytes --]
Hi Guix , this is a friendly ping. I'm sending a patchset rebased on
current master.
Thank you for your work,
giacomo
[-- Attachment #2: Type: text/html, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1.
2024-05-01 18:35 [bug#70701] Add rust-pcsc paul via Guix-patches via
` (3 preceding siblings ...)
2024-10-20 22:55 ` [bug#70701] Add rust-pcsc paul via Guix-patches via
@ 2024-10-20 22:55 ` Giacomo Leidi via Guix-patches via
2024-10-20 22:55 ` [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2 Giacomo Leidi via Guix-patches via
2024-10-21 5:20 ` bug#70701: [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Efraim Flashner
4 siblings, 2 replies; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-10-20 22:55 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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@gmail.com>
;;; Copyright © 2019-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2019, 2024 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2.
2024-10-20 22:55 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
@ 2024-10-20 22:55 ` Giacomo Leidi via Guix-patches via
2024-10-21 5:20 ` bug#70701: [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Efraim Flashner
1 sibling, 0 replies; 10+ messages in thread
From: Giacomo Leidi via Guix-patches via @ 2024-10-20 22:55 UTC (permalink / raw)
To: 70701; +Cc: Giacomo Leidi, Efraim Flashner
* 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
^ permalink raw reply related [flat|nested] 10+ messages in thread
* bug#70701: [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1.
2024-10-20 22:55 ` [bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1 Giacomo Leidi via Guix-patches via
2024-10-20 22:55 ` [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2 Giacomo Leidi via Guix-patches via
@ 2024-10-21 5:20 ` Efraim Flashner
1 sibling, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2024-10-21 5:20 UTC (permalink / raw)
To: Giacomo Leidi; +Cc: 70701-done
[-- Attachment #1: Type: text/plain, Size: 377 bytes --]
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@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread