guix-patches
[Top][All Lists]
Advanced

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

[bug#70701] [PATCH v2 1/2] gnu: Add rust-pcsc-sys-1.


From: Giacomo Leidi
Subject: [bug#70701] [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@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






reply via email to

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