1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/libraries/libfreefare/default.nix
Bob van der Linden c839205a69 added libfreefare
A library on top of libnfc for MIFARE support.
2014-09-07 16:23:23 +02:00

22 lines
674 B
Nix

{ 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 = with platforms; unix;
};
}