summary refs log tree commit diff
path: root/pkgs/development/libraries/libfreefare/default.nix
blob: 8c485fef47c95c331d2b71177ada7dd43634dfe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, pkgconfig, libnfc, openssl }:

stdenv.mkDerivation rec {
  name = "libfreefare-${version}";
  version = "0.4.0";

  src = fetchurl {
    url = "https://libfreefare.googlecode.com/files/libfreefare-0.4.0.tar.bz2";
    sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
  };

  buildInputs = [ pkgconfig libnfc openssl ];

  meta = with stdenv.lib; {
    description = "The libfreefare project aims to provide a convenient API for MIFARE card manipulations";
    license = licenses.gpl3;
    homepage = http://code.google.com/p/libfreefare/;
    maintainers = with maintainers; [bobvanderlinden];
    platforms = platforms.unix;
  };
}