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