about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-02-21 10:26:01 +0100
committerGitHub <noreply@github.com>2023-02-21 10:26:01 +0100
commitc23e0bc367bbf76b74f3619d6770b7830ca1e8ca (patch)
tree392bf8ce8ceaa0e9ab1e7cf1e42414798b6369fb /pkgs/tools/security
parent8c922b23f9d908caf38d14daf35b4d0374a4ab4a (diff)
parent2cf29e463524e46d0aa34f3aac26bd628ef1166f (diff)
Merge pull request #216965 from azuwis/mfoc-hardnested
mfoc-hardnested: init at unstable-2021-08-14
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/mfoc-hardnested/default.nix25
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
+  };
+}