nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 921 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 libgcrypt, 5 python3, 6}: 7 8python3.pkgs.buildPythonApplication rec { 9 pname = "killerbee"; 10 version = "3.0.0-beta.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "riverloopsec"; 15 repo = "killerbee"; 16 tag = version; 17 hash = "sha256-WM0Z6sd8S71F8FfhhoUq3MSD/2uvRTY/FsBP7VGGtb0="; 18 }; 19 20 build-system = with python3.pkgs; [ setuptools ]; 21 22 buildInputs = [ libgcrypt ]; 23 24 dependencies = with python3.pkgs; [ 25 pycrypto 26 pyserial 27 pyusb 28 rangeparser 29 scapy 30 ]; 31 32 pythonImportsCheck = [ "killerbee" ]; 33 34 meta = { 35 description = "IEEE 802.15.4/ZigBee Security Research Toolkit"; 36 homepage = "https://github.com/riverloopsec/killerbee"; 37 changelog = "https://github.com/riverloopsec/killerbee/releases/tag/${version}"; 38 license = lib.licenses.bsd3; 39 maintainers = with lib.maintainers; [ fab ]; 40 platforms = lib.platforms.linux; 41 }; 42}