Merge pull request #3793 from NixOS/pkgs/nfchacktools

Libnfc and mfcuk packages

+46
+21
pkgs/development/libraries/libnfc/default.nix
··· 1 + { stdenv, fetchurl, libusb }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libnfc-${version}"; 5 + version = "1.7.1"; 6 + 7 + src = fetchurl { 8 + url = "http://dl.bintray.com/nfc-tools/sources/libnfc-1.7.1.tar.bz2"; 9 + sha256 = "0wj0iwwcpmpalyk61aa7yc6i4p9hgdajkrgnlswgk0vnwbc78pll"; 10 + }; 11 + 12 + buildInputs = [ libusb ]; 13 + 14 + meta = with stdenv.lib; { 15 + description = "Open source library libnfc for Near Field Communication"; 16 + license = licenses.gpl3; 17 + homepage = http://code.google.com/p/libnfc/; 18 + maintainers = with maintainers; [offline]; 19 + platforms = with platforms; unix; 20 + }; 21 + }
+21
pkgs/tools/security/mfcuk/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig, libnfc }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "mfcuk-${version}"; 5 + version = "0.3.8"; 6 + 7 + src = fetchurl { 8 + url = "http://mfcuk.googlecode.com/files/mfcuk-0.3.8.tar.gz"; 9 + sha256 = "0m9sy61rsbw63xk05jrrmnyc3xda0c3m1s8pg3sf8ijbbdv9axcp"; 10 + }; 11 + 12 + buildInputs = [ pkgconfig libnfc ]; 13 + 14 + meta = with stdenv.lib; { 15 + description = "MiFare Classic Universal toolKit"; 16 + license = licenses.gpl2; 17 + homepage = http://code.google.com/p/mfcuk/; 18 + maintainers = with maintainers; [ offline ]; 19 + platforms = with platforms; unix; 20 + }; 21 + }
+4
pkgs/top-level/all-packages.nix
··· 1510 1510 1511 1511 megatools = callPackage ../tools/networking/megatools { }; 1512 1512 1513 + mfcuk = callPackage ../tools/security/mfcuk { }; 1514 + 1513 1515 minecraft = callPackage ../games/minecraft { }; 1514 1516 1515 1517 minecraft-server = callPackage ../games/minecraft-server { }; ··· 5311 5313 libmsgpack = callPackage ../development/libraries/libmsgpack { }; 5312 5314 5313 5315 libnatspec = callPackage ../development/libraries/libnatspec { }; 5316 + 5317 + libnfc = callPackage ../development/libraries/libnfc { }; 5314 5318 5315 5319 libnfsidmap = callPackage ../development/libraries/libnfsidmap { }; 5316 5320