1{ stdenv, fetchurl, pkgconfig, libnfc, openssl }:
2
3stdenv.mkDerivation rec {
4 name = "libfreefare-${version}";
5 version = "0.4.0";
6
7 src = fetchurl {
8 url = "https://libfreefare.googlecode.com/files/libfreefare-0.4.0.tar.bz2";
9 sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
10 };
11
12 buildInputs = [ pkgconfig libnfc openssl ];
13
14 meta = with stdenv.lib; {
15 description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations";
16 license = licenses.gpl3;
17 homepage = http://code.google.com/p/libfreefare/;
18 maintainers = with maintainers; [bobvanderlinden];
19 platforms = with platforms; unix;
20 };
21}