3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/mfoc/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
602 B
Nix

{ stdenv, fetchurl, pkgconfig, libnfc }:
stdenv.mkDerivation rec {
name = "mfoc-${version}";
version = "0.10.6";
src = fetchurl {
url = "http://mfoc.googlecode.com/files/${name}.tar.gz";
sha1 = "3adce3029dce9124ff3bc7d0fad86fa0c374a9e3";
};
patches = [./mf_mini.patch];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnfc ];
meta = with stdenv.lib; {
description = "Mifare Classic Offline Cracker";
license = licenses.gpl2;
homepage = http://code.google.com/p/mfoc/;
maintainers = with maintainers; [ offline ];
platforms = platforms.unix;
};
}