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";
25 mainProgram = "ifdnfc-activate";
27 libnfc Interface Plugin to be used in <code>services.pcscd.plugins</code>.
28 It provides support for all readers which are not supported by ccid but by libnfc.
30 For activating your reader you need to run
31 <code>ifdnfc-activate yes<code> with this package in your
32 <code>environment.systemPackages</code>
34 To use your reader you may need to blacklist your reader kernel modules:
35 <code>boot.blacklistedKernelModules = [ "pn533" "pn533_usb" "nfc" ];</code>
37 Supports the pn533 smart-card reader chip which is for example used in
40 homepage = "https://github.com/nfc-tools/ifdnfc";
41 license = licenses.gpl3;
42 platforms = platforms.linux;
43 maintainers = with maintainers; [ makefu ];