nixpkgs/pkgs/by-name/mf/mfoc-hardnested/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

40 lines
811 B
Nix

{ 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 = "Fork of mfoc integrating hardnested code from the proxmark";
mainProgram = "mfoc-hardnested";
license = licenses.gpl2;
homepage = "https://github.com/nfc-tools/mfoc-hardnested";
maintainers = with maintainers; [ azuwis ];
platforms = platforms.unix;
};
})