expliot: update overrides (#442199)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchFromGitLab,
|
||||
python3,
|
||||
}:
|
||||
@@ -14,6 +15,21 @@ let
|
||||
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;
|
||||
});
|
||||
};
|
||||
@@ -24,12 +40,12 @@ with py.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "expliot";
|
||||
version = "0.9.8";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "expliot_framework";
|
||||
repo = "expliot";
|
||||
rev = version;
|
||||
tag = version;
|
||||
hash = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
|
||||
};
|
||||
|
||||
@@ -42,10 +58,9 @@ buildPythonApplication rec {
|
||||
"zeroconf"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiocoap
|
||||
awsiotpythonsdk
|
||||
bluepy
|
||||
@@ -67,13 +82,10 @@ buildPythonApplication rec {
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"expliot"
|
||||
];
|
||||
pythonImportsCheck = [ "expliot" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "IoT security testing and exploitation framework";
|
||||
mainProgram = "expliot";
|
||||
longDescription = ''
|
||||
EXPLIoT is a Framework for security testing and exploiting IoT
|
||||
products and IoT infrastructure. It provides a set of plugins
|
||||
@@ -83,7 +95,8 @@ buildPythonApplication rec {
|
||||
purpose of the framework i.e. IoT exploitation.
|
||||
'';
|
||||
homepage = "https://expliot.readthedocs.io/";
|
||||
license = with licenses; [ agpl3Plus ];
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "expliot";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user