proxmark3-rrg: Initial commit
The rfidresearchgroup fork is a significant fork from the upstream, and the build steps are more than a bit different, which is why I did this in a new file. Also, add myself to the maintainers list
This commit is contained in:
parent
6a6867342f
commit
d935afe655
38
pkgs/tools/security/proxmark3/proxmark3-rrg.nix
Normal file
38
pkgs/tools/security/proxmark3/proxmark3-rrg.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, pkg-config, gcc-arm-embedded, bluez5
|
||||
, readline
|
||||
|
||||
, hardwarePlatform ? "PM3RDV4"
|
||||
|
||||
, hardwarePlatformExtras ? "" }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "proxmark3-rrg";
|
||||
version = "4.9237";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RfidResearchGroup";
|
||||
repo = "proxmark3";
|
||||
rev = "v${version}";
|
||||
sha256 = "13xrhvrsm73rfgqpgca6a37c3jixdkxvfggmacnnx5fdfb393bfx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gcc-arm-embedded ];
|
||||
buildInputs = [ bluez5 readline ];
|
||||
|
||||
makeFlags = [
|
||||
"PLATFORM=${hardwarePlatform}"
|
||||
"PLATFORM_EXTRAS=${hardwarePlatformExtras}"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -Dt $out/bin client/proxmark3
|
||||
install -Dt $out/firmware bootrom/obj/bootrom.elf armsrc/obj/fullimage.elf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Client for proxmark3, powerful general purpose RFID tool";
|
||||
homepage = "https://rfidresearchgroup.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ nyanotech ];
|
||||
};
|
||||
}
|
@ -7120,6 +7120,8 @@ in
|
||||
inherit (callPackages ../tools/security/proxmark3 { gcc-arm-embedded = gcc-arm-embedded-8; })
|
||||
proxmark3 proxmark3-unstable;
|
||||
|
||||
proxmark3-rrg = libsForQt5.callPackage ../tools/security/proxmark3/proxmark3-rrg.nix { };
|
||||
|
||||
proxychains = callPackage ../tools/networking/proxychains { };
|
||||
|
||||
proxify = callPackage ../tools/networking/proxify { };
|
||||
|
Loading…
Reference in New Issue
Block a user