Merge pull request #3998 from bobvanderlinden/libfreefare

added libfreefare
This commit is contained in:
Aristid Breitkreuz 2014-09-07 18:08:56 +02:00
commit 476b94a34d
3 changed files with 24 additions and 0 deletions

View File

@ -28,6 +28,7 @@
bjg = "Brian Gough <bjg@gnu.org>"; bjg = "Brian Gough <bjg@gnu.org>";
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>"; bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>"; bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";
bobvanderlinden = "Bob van der Linden <bobvanderlinden@gmail.com>";
bodil = "Bodil Stokke <nix@bodil.org>"; bodil = "Bodil Stokke <nix@bodil.org>";
bosu = "Boris Sukholitko <boriss@gmail.com>"; bosu = "Boris Sukholitko <boriss@gmail.com>";
calrama = "Moritz Maxeiner <moritz@ucworks.org>"; calrama = "Moritz Maxeiner <moritz@ucworks.org>";

View File

@ -0,0 +1,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 = with platforms; unix;
};
}

View File

@ -5364,6 +5364,8 @@ let
libffi = callPackage ../development/libraries/libffi { }; libffi = callPackage ../development/libraries/libffi { };
libfreefare = callPackage ../development/libraries/libfreefare { };
libftdi = callPackage ../development/libraries/libftdi { }; libftdi = callPackage ../development/libraries/libftdi { };
libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { }; libftdi1 = callPackage ../development/libraries/libftdi/1.x.nix { };