depot/pkgs/tools/security/mfcuk/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

23 lines
666 B
Nix

{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
buildInputs = [ libnfc ];
meta = with lib; {
description = "MiFare Classic Universal toolKit";
mainProgram = "mfcuk";
license = licenses.gpl2Plus;
homepage = "https://github.com/nfc-tools/mfcuk";
maintainers = with maintainers; [ offline ];
platforms = platforms.unix;
};
}