Merge pull request #254971 from azuwis/mfoc-hardnested

mfoc-hardnested: unstable-2021-08-14 -> unstable-2023-03-27
This commit is contained in:
Weijia Wang 2023-09-18 23:23:38 +02:00 committed by GitHub
commit f73b762f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 27 deletions

View File

@ -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;
};
})

View File

@ -1,25 +0,0 @@
{ 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
};
}

View File

@ -10796,8 +10796,6 @@ with pkgs;
mfoc = callPackage ../tools/security/mfoc { };
mfoc-hardnested = callPackage ../tools/security/mfoc-hardnested { };
microbin = callPackage ../servers/microbin { };
microdnf = callPackage ../tools/package-management/microdnf { };