2024-05-22 08:18:37 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libgcrypt,
|
|
|
|
python3,
|
2024-01-20 22:37:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "killerbee";
|
|
|
|
version = "3.0.0-beta.2";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "riverloopsec";
|
|
|
|
repo = "killerbee";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-WM0Z6sd8S71F8FfhhoUq3MSD/2uvRTY/FsBP7VGGtb0=";
|
|
|
|
};
|
|
|
|
|
2024-05-22 08:18:37 +00:00
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
2024-01-20 22:37:43 +00:00
|
|
|
|
2024-05-22 08:18:37 +00:00
|
|
|
buildInputs = with python3.pkgs; [ libgcrypt ];
|
2024-01-20 22:37:43 +00:00
|
|
|
|
2024-05-22 08:17:40 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2024-01-20 22:37:43 +00:00
|
|
|
pyserial
|
|
|
|
pyusb
|
|
|
|
rangeparser
|
|
|
|
scapy
|
|
|
|
];
|
|
|
|
|
2024-05-22 08:18:37 +00:00
|
|
|
pythonImportsCheck = [ "killerbee" ];
|
2024-01-20 22:37:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "IEEE 802.15.4/ZigBee Security Research Toolkit";
|
|
|
|
homepage = "https://github.com/riverloopsec/killerbee";
|
2024-05-22 08:17:40 +00:00
|
|
|
changelog = "https://github.com/riverloopsec/killerbee/releases/tag/${version}";
|
2024-01-20 22:37:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2024-05-22 08:19:19 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-20 22:37:43 +00:00
|
|
|
};
|
|
|
|
}
|