2014-08-25 23:22:08 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libnfc }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mfcuk-${version}";
|
|
|
|
version = "0.3.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-26 23:44:19 +00:00
|
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mfcuk/mfcuk-0.3.8.tar.gz";
|
2014-08-25 23:22:08 +00:00
|
|
|
sha256 = "0m9sy61rsbw63xk05jrrmnyc3xda0c3m1s8pg3sf8ijbbdv9axcp";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libnfc ];
|
2014-08-25 23:22:08 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MiFare Classic Universal toolKit";
|
|
|
|
license = licenses.gpl2;
|
2017-10-26 23:44:19 +00:00
|
|
|
homepage = https://github.com/nfc-tools/mfcuk;
|
2014-08-25 23:22:08 +00:00
|
|
|
maintainers = with maintainers; [ offline ];
|
2015-11-17 20:29:29 +00:00
|
|
|
platforms = platforms.unix;
|
2014-08-25 23:22:08 +00:00
|
|
|
};
|
|
|
|
}
|