expliot: 0.9.8 -> 0.11.1 + clean

Changed files
+20 -47
pkgs
by-name
ex
expliot
+20 -47
pkgs/by-name/ex/expliot/package.nix
···
{
lib,
-
fetchFromGitHub,
fetchFromGitLab,
python3,
}:
-
let
-
py = python3.override {
-
self = py;
-
packageOverrides = self: super: {
-
-
cmd2 = super.cmd2.overridePythonAttrs (oldAttrs: rec {
-
version = "1.5.0";
-
src = oldAttrs.src.override {
-
inherit version;
-
hash = "sha256-cBqMmXXEq8ReXROQarFJ+Vn4EoaRBjRzI6P4msDoKmI=";
-
};
-
dependencies = oldAttrs.dependencies ++ [
-
python3.pkgs.attrs
-
python3.pkgs.colorama
-
];
-
doCheck = false;
-
});
-
-
paho-mqtt = super.paho-mqtt.overridePythonAttrs (oldAttrs: rec {
-
version = "1.6.1";
-
src = fetchFromGitHub {
-
inherit (oldAttrs.src) owner repo;
-
tag = "v${version}";
-
hash = "sha256-9nH6xROVpmI+iTKXfwv2Ar1PAmWbEunI3HO0pZyK6Rg=";
-
};
-
build-system = with self; [ setuptools ];
-
doCheck = false;
-
});
-
};
-
};
-
in
-
with py.pkgs;
-
+
with python3.pkgs;
buildPythonApplication rec {
pname = "expliot";
-
version = "0.9.8";
+
version = "0.11.1";
pyproject = true;
src = fetchFromGitLab {
owner = "expliot_framework";
repo = "expliot";
tag = version;
-
hash = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
+
hash = "sha256-aFJVT5vE9YKirZEINKFzYWDffoVgluoUyvMmOifLq1M=";
};
+
+
build-system = [
+
poetry-core
+
];
pythonRelaxDeps = [
-
"pymodbus"
-
"pynetdicom"
"cryptography"
-
"python-can"
-
"pyparsing"
+
"paho-mqtt"
+
"pynetdicom"
+
"setuptools"
+
"xmltodict"
"zeroconf"
];
-
build-system = [ setuptools ];
-
dependencies = [
aiocoap
awsiotpythonsdk
bluepy
-
python-can
cmd2
cryptography
+
distro
+
jsonschema
paho-mqtt
pyi2cflash
pymodbus
pynetdicom
pyparsing
-
pyserial
pyspiflash
+
python-can
+
python-magic
+
pyudev
+
setuptools
upnpy
xmltodict
zeroconf
···
pythonImportsCheck = [ "expliot" ];
-
meta = with lib; {
+
meta = {
description = "IoT security testing and exploitation framework";
longDescription = ''
EXPLIoT is a Framework for security testing and exploiting IoT
···
purpose of the framework i.e. IoT exploitation.
'';
homepage = "https://expliot.readthedocs.io/";
-
license = licenses.agpl3Plus;
-
maintainers = with maintainers; [ fab ];
+
license = lib.licenses.agpl3Plus;
+
maintainers = with lib.maintainers; [ fab ];
mainProgram = "expliot";
};
}