1 { lib, stdenv, fetchFromGitHub , pkg-config
9 version = "2016-03-01";
11 src = fetchFromGitHub {
15 sha256 = "1cxnvhhlcbm8h49rlw5racspb85fmwqqhd3gzzpzy68vrs0b37vg";
17 nativeBuildInputs = [ pkg-config autoreconfHook ];
18 buildInputs = [ pcsclite libnfc ];
20 configureFlags = [ "--prefix=$(out)" ];
21 makeFlags = [ "DESTDIR=/" "usbdropdir=$(out)/pcsc/drivers" ];
24 description = "PC/SC IFD Handler based on libnfc";
26 '' libnfc Interface Plugin to be used in <code>services.pcscd.plugins</code>.
27 It provides support for all readers which are not supported by ccid but by libnfc.
29 For activating your reader you need to run
30 <code>ifdnfc-activate yes<code> with this package in your
31 <code>environment.systemPackages</code>
33 To use your reader you may need to blacklist your reader kernel modules:
34 <code>boot.blacklistedKernelModules = [ "pn533" "pn533_usb" "nfc" ];</code>
36 Supports the pn533 smart-card reader chip which is for example used in
39 homepage = "https://github.com/nfc-tools/ifdnfc";
40 license = licenses.gpl3;
41 platforms = platforms.linux;
42 maintainers = with maintainers; [ makefu ];