unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Giacomo Leidi via Guix-patches via <guix-patches@gnu.org>
To: 70701@debbugs.gnu.org
Cc: Giacomo Leidi <goodoldpaul@autistici.org>,
	Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#70701] [PATCH v2 2/2] gnu: Add rust-pcsc-2.
Date: Wed,  4 Sep 2024 22:58:37 +0200	[thread overview]
Message-ID: <f9584eee543b72dc83292c0309abc84c5d418c21.1725483517.git.goodoldpaul@autistici.org> (raw)
In-Reply-To: <67488c396aa945625927c8eb783fb7fe0bdfc8ae.1725483516.git.goodoldpaul@autistici.org>

* 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





  reply	other threads:[~2024-09-04 20:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-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
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 [this message]
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
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9584eee543b72dc83292c0309abc84c5d418c21.1725483517.git.goodoldpaul@autistici.org \
    --to=guix-patches@gnu.org \
    --cc=70701@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=goodoldpaul@autistici.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).