mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
23 lines
647 B
Nix
23 lines
647 B
Nix
{ stdenv, fetchurl, pkgconfig, libnfc }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mfcuk-${version}";
|
|
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;
|
|
};
|
|
}
|