1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, pcsclite , libusb-compat-0_1, IOKit }:
8 url = "http://http.debian.net/debian/pool/main/a/acr38/acr38_1.7.11.orig.tar.bz2";
9 sha256 = "0lxbq17y51cablx6bcd89klwnyigvkz0rsf9nps1a97ggnllyzkx";
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ pcsclite libusb-compat-0_1 ]
16 ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
19 makeFlagsArray=(usbdropdir="$out/pcsc/drivers");
23 description = "ACR38U smartcard reader driver for pcsclite";
25 A PC/SC IFD handler implementation for the ACS ACR38U
26 smartcard readers. This driver is for the non-CCID version only.
28 This package is needed to communicate with the ACR38U smartcard readers through
29 the PC/SC Lite resource manager (pcscd).
31 It can be enabled in /etc/nixos/configuration.nix by adding:
32 services.pcscd.enable = true;
33 services.pcscd.plugins = [ libacr38u ];
35 The package is based on the debian package libacr38u.
37 homepage = "https://www.acs.com.hk";
38 license = licenses.lgpl2Plus;
39 maintainers = with maintainers; [ berce ];
40 platforms = with platforms; unix;