proxmark3: init at 3.1.0
This commit is contained in:
parent
1520bed20b
commit
4a985a67c5
37
pkgs/tools/security/proxmark3/default.nix
Normal file
37
pkgs/tools/security/proxmark3/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, readline }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "proxmark3";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Proxmark";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1qw28n1bhhl91ix77lv50qcr919fq3hjc8zhhqphwxal2svgx2jf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ncurses readline ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace client/Makefile --replace '-ltermcap' ' '
|
||||
substituteInPlace liblua/Makefile --replace '-ltermcap' ' '
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
cd client
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp proxmark3 $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Client for proxmark3, powerful general purpose RFID tool";
|
||||
homepage = http://www.proxmark.org;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
};
|
||||
}
|
@ -5103,6 +5103,8 @@ in
|
||||
|
||||
prototypejs = callPackage ../development/libraries/prototypejs { };
|
||||
|
||||
proxmark3 = callPackage ../tools/security/proxmark3 { };
|
||||
|
||||
proxychains = callPackage ../tools/networking/proxychains { };
|
||||
|
||||
proxytunnel = callPackage ../tools/misc/proxytunnel { };
|
||||
|
Loading…
Reference in New Issue
Block a user