about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-18 23:23:38 +0200
committerGitHub <noreply@github.com>2023-09-18 23:23:38 +0200
commitf73b762f53cf7301d7e0877456a086e7868cea7b (patch)
tree9bee291ab3ca3c84f2443956af79a67c0261371b /pkgs/by-name
parent84863007421fe887aec1d2e9600aa1e436fd98d7 (diff)
parent43555b34363a372a0ac2051808d7c70f0599bf99 (diff)
Merge pull request #254971 from azuwis/mfoc-hardnested
mfoc-hardnested: unstable-2021-08-14 -> unstable-2023-03-27
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/mf/mfoc-hardnested/package.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/mf/mfoc-hardnested/package.nix b/pkgs/by-name/mf/mfoc-hardnested/package.nix
new file mode 100644
index 0000000000000..550d3a5c46677
--- /dev/null
+++ b/pkgs/by-name/mf/mfoc-hardnested/package.nix
@@ -0,0 +1,38 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, autoreconfHook
+, pkg-config
+, libnfc
+, xz
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+  pname = "mfoc-hardnested";
+  version = "unstable-2023-03-27";
+
+  src = fetchFromGitHub {
+    owner = "nfc-tools";
+    repo = finalAttrs.pname;
+    rev = "a6007437405a0f18642a4bbca2eeba67c623d736";
+    hash = "sha256-YcUMS4wx5ML4yYiARyfm7T7nLomgG9YCSFj+ZUg5XZk=";
+  };
+
+  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;
+  };
+})