1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libnfc, openssl
11 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libfreefare/libfreefare-0.4.0.tar.bz2";
12 sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
15 nativeBuildInputs = [ autoreconfHook pkg-config ];
16 buildInputs = [ libnfc openssl ] ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
19 description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations";
20 license = licenses.lgpl3;
21 homepage = "https://github.com/nfc-tools/libfreefare";
22 maintainers = with maintainers; [bobvanderlinden];
23 platforms = platforms.unix;