diff options
author | Zhong Jianxin <azuwis@gmail.com> | 2023-02-18 22:05:10 +0800 |
---|---|---|
committer | Zhong Jianxin <azuwis@gmail.com> | 2023-02-20 10:03:06 +0800 |
commit | 2cf29e463524e46d0aa34f3aac26bd628ef1166f (patch) | |
tree | 66d3a546f088f2a8a24d3481dee343a3e7f2ae3d /pkgs/tools/security | |
parent | f47ea8fbf7e638167dc045d34e820b8516c1683e (diff) |
mfoc-hardnested: init at unstable-2021-08-14
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/mfoc-hardnested/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/security/mfoc-hardnested/default.nix b/pkgs/tools/security/mfoc-hardnested/default.nix new file mode 100644 index 0000000000000..ee6d5a3dd30f7 --- /dev/null +++ b/pkgs/tools/security/mfoc-hardnested/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libnfc, xz }: + +stdenv.mkDerivation rec { + pname = "mfoc-hardnested"; + version = "unstable-2021-08-14"; + + src = fetchFromGitHub { + owner = "nfc-tools"; + repo = pname; + rev = "2c25bf05a0b13827b9d06382c5d384b2e5c88238"; + hash = "sha256-fhfevQCw0E5TorHx61Vltpmv7DAjgH73i27O7aBKxz4="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ libnfc xz ]; + + meta = with lib; { + description = "A fork of mfoc integrating hardnested code from the proxmark"; + license = licenses.gpl2; + homepage = "https://github.com/nfc-tools/mfoc-hardnested"; + maintainers = with maintainers; [ azuwis ]; + platforms = platforms.unix; + broken = (stdenv.isDarwin && stdenv.isAarch64); # Undefined symbols "_memalign" referenced + }; +} |