summary refs log tree commit diff
path: root/pkgs/tools/security/mfcuk/default.nix
blob: a23e29175615f998da2ae65f287c24f5cdc1ad2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pkgconfig, libnfc }:

stdenv.mkDerivation {
  pname = "mfcuk";
  version = "0.3.8";

  src = fetchurl {
    url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mfcuk/mfcuk-0.3.8.tar.gz";
    sha256 = "0m9sy61rsbw63xk05jrrmnyc3xda0c3m1s8pg3sf8ijbbdv9axcp";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libnfc ];

  meta = with stdenv.lib; {
    description = "MiFare Classic Universal toolKit";
    license = licenses.gpl2;
    homepage = https://github.com/nfc-tools/mfcuk;
    maintainers = with maintainers; [ offline ];
    platforms = platforms.unix;
  };
}