lol
at v192 23 lines 581 B view raw
1{ stdenv, fetchurl, pkgconfig, libnfc }: 2 3stdenv.mkDerivation rec { 4 name = "mfoc-${version}"; 5 version = "0.10.6"; 6 7 src = fetchurl { 8 url = "http://mfoc.googlecode.com/files/${name}.tar.gz"; 9 sha1 = "3adce3029dce9124ff3bc7d0fad86fa0c374a9e3"; 10 }; 11 12 patches = [./mf_mini.patch]; 13 14 buildInputs = [ pkgconfig libnfc ]; 15 16 meta = with stdenv.lib; { 17 description = "Mifare Classic Offline Cracker"; 18 license = licenses.gpl2; 19 homepage = http://code.google.com/p/mfoc/; 20 maintainers = with maintainers; [ offline ]; 21 platforms = with platforms; unix; 22 }; 23}