proxmark3: init at 3.1.0

This commit is contained in:
Franz Pletz 2019-04-06 14:51:22 +02:00
parent 1520bed20b
commit 4a985a67c5
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 39 additions and 0 deletions

View 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 ];
};
}

View File

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