unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Arvid Krein <arvidkrein@zedat.fu-berlin.de>
To: 62293@debbugs.gnu.org
Subject: [bug#62293] [PATCH v2] gnu: add cyberjack-pcsc
Date: Wed, 22 Mar 2023 15:26:07 +0100	[thread overview]
Message-ID: <422b81a4-a9ca-2973-f897-5ea381b26bf3@zedat.fu-berlin.de> (raw)
In-Reply-To: <fab4c4c9-2bb9-0fa2-9050-75ba632b3d8e@zedat.fu-berlin.de>

Hello Bruno,

I thought a while about package naming and now think that cyberjack-pcsc 
might be a better package name. The package is not part of pcsc but 
rather contains pcsc drivers for cyberjack so I would think 
cyberjack-pcsc is more appropriate. I am not sure about this though and 
would be happy about feedback. In general this aligns better with how I 
think guix package names are chosen.

Greetings,

Arvid

* gnu/packages/security-token.scm (cyberjack-pcsc): New variable.
---
  gnu/packages/security-token.scm | 31 +++++++++++++++++++++++++++++++
  1 file changed, 31 insertions(+)

diff --git a/gnu/packages/security-token.scm 
b/gnu/packages/security-token.scm
index 3cf585480e..11ec681cdc 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -1025,3 +1025,34 @@ (define-public cardpeek
  It also has limited support for Mifare Classic compatible cards 
(Thalys card)")
      (license license:gpl3+)
      (home-page "http://pannetrat.com/Cardpeek")))
+
+(define-public cyberjack-pcsc
+  (package
+    (name "cyberjack-pcsc")
+    (version "3.99.5final.sp15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+ 
"https://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP15/pcsc-cyberjack_3.99.5f
inal.SP15.tar.bz2")
+       (sha256
+        (base32
+ "0yj6plgb245r218v6lgdabb3422hxyrw8rrpf5b8fwah4j1w5dxc"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list (string-append "--with-usbdropdir=" #$output "/pcsc/drivers")
+              (string-append "--bindir=" #$output:tools "/bin"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'install-tools
+            (lambda _ (invoke "make" "-C" "tools/cjflash" "install"))))))
+    (native-inputs (list pkg-config))
+    (inputs (list pcsc-lite libusb))
+    (outputs '("out" "tools"))
+    (synopsis "PC/SC driver for cyberJack chipcard readers")
+    (description
+     "This package includes the IFD driver for the cyberJack 
contactless (RFID) and contac
t USB chipcard readers.")
+    (home-page "http://www.reiner-sct.com/")
+    (license license:lgpl2.1+)))

base-commit: 4f8a13b9fbfd0efcb94ee8da46b09c6dbe84ac4b
--
2.39.2





  parent reply	other threads:[~2023-03-22 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 10:28 [bug#62293] [PATCH] gnu: add pcsc-cyberjack Arvid Krein
2023-03-20 18:44 ` Bruno Victal
2023-03-21 11:26 ` [bug#62293] [PATCH v1] " Arvid Krein
2023-03-22 14:26 ` Arvid Krein [this message]
2023-06-02 11:28   ` [bug#62293] [PATCH] " 宋文武 via Guix-patches via
2023-06-02 14:45 ` bug#62293: Done: Patch was pushed as commit a7d9cd742c3149bb014db95f88d1158d590bc124 Arvid Krein

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=422b81a4-a9ca-2973-f897-5ea381b26bf3@zedat.fu-berlin.de \
    --to=arvidkrein@zedat.fu-berlin.de \
    --cc=62293@debbugs.gnu.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).