expliot: 0.9.8 -> 0.11.1 + clean

+20 -47
+20 -47
pkgs/by-name/ex/expliot/package.nix
··· 1 1 { 2 2 lib, 3 - fetchFromGitHub, 4 3 fetchFromGitLab, 5 4 python3, 6 5 }: 7 - let 8 - py = python3.override { 9 - self = py; 10 - packageOverrides = self: super: { 11 - 12 - cmd2 = super.cmd2.overridePythonAttrs (oldAttrs: rec { 13 - version = "1.5.0"; 14 - src = oldAttrs.src.override { 15 - inherit version; 16 - hash = "sha256-cBqMmXXEq8ReXROQarFJ+Vn4EoaRBjRzI6P4msDoKmI="; 17 - }; 18 - dependencies = oldAttrs.dependencies ++ [ 19 - python3.pkgs.attrs 20 - python3.pkgs.colorama 21 - ]; 22 - doCheck = false; 23 - }); 24 - 25 - paho-mqtt = super.paho-mqtt.overridePythonAttrs (oldAttrs: rec { 26 - version = "1.6.1"; 27 - src = fetchFromGitHub { 28 - inherit (oldAttrs.src) owner repo; 29 - tag = "v${version}"; 30 - hash = "sha256-9nH6xROVpmI+iTKXfwv2Ar1PAmWbEunI3HO0pZyK6Rg="; 31 - }; 32 - build-system = with self; [ setuptools ]; 33 - doCheck = false; 34 - }); 35 - }; 36 - }; 37 - in 38 - with py.pkgs; 39 - 6 + with python3.pkgs; 40 7 buildPythonApplication rec { 41 8 pname = "expliot"; 42 - version = "0.9.8"; 9 + version = "0.11.1"; 43 10 pyproject = true; 44 11 45 12 src = fetchFromGitLab { 46 13 owner = "expliot_framework"; 47 14 repo = "expliot"; 48 15 tag = version; 49 - hash = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY="; 16 + hash = "sha256-aFJVT5vE9YKirZEINKFzYWDffoVgluoUyvMmOifLq1M="; 50 17 }; 18 + 19 + build-system = [ 20 + poetry-core 21 + ]; 51 22 52 23 pythonRelaxDeps = [ 53 - "pymodbus" 54 - "pynetdicom" 55 24 "cryptography" 56 - "python-can" 57 - "pyparsing" 25 + "paho-mqtt" 26 + "pynetdicom" 27 + "setuptools" 28 + "xmltodict" 58 29 "zeroconf" 59 30 ]; 60 31 61 - build-system = [ setuptools ]; 62 - 63 32 dependencies = [ 64 33 aiocoap 65 34 awsiotpythonsdk 66 35 bluepy 67 - python-can 68 36 cmd2 69 37 cryptography 38 + distro 39 + jsonschema 70 40 paho-mqtt 71 41 pyi2cflash 72 42 pymodbus 73 43 pynetdicom 74 44 pyparsing 75 - pyserial 76 45 pyspiflash 46 + python-can 47 + python-magic 48 + pyudev 49 + setuptools 77 50 upnpy 78 51 xmltodict 79 52 zeroconf ··· 84 57 85 58 pythonImportsCheck = [ "expliot" ]; 86 59 87 - meta = with lib; { 60 + meta = { 88 61 description = "IoT security testing and exploitation framework"; 89 62 longDescription = '' 90 63 EXPLIoT is a Framework for security testing and exploiting IoT ··· 95 68 purpose of the framework i.e. IoT exploitation. 96 69 ''; 97 70 homepage = "https://expliot.readthedocs.io/"; 98 - license = licenses.agpl3Plus; 99 - maintainers = with maintainers; [ fab ]; 71 + license = lib.licenses.agpl3Plus; 72 + maintainers = with lib.maintainers; [ fab ]; 100 73 mainProgram = "expliot"; 101 74 }; 102 75 }