tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
expliot: 0.9.8 -> 0.11.1 + clean
Guilhem Saurel
4 months ago
317dfb9e
283e7ab7
+20
-47
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ex
expliot
package.nix
+20
-47
pkgs/by-name/ex/expliot/package.nix
···
1
1
{
2
2
lib,
3
3
-
fetchFromGitHub,
4
3
fetchFromGitLab,
5
4
python3,
6
5
}:
7
7
-
let
8
8
-
py = python3.override {
9
9
-
self = py;
10
10
-
packageOverrides = self: super: {
11
11
-
12
12
-
cmd2 = super.cmd2.overridePythonAttrs (oldAttrs: rec {
13
13
-
version = "1.5.0";
14
14
-
src = oldAttrs.src.override {
15
15
-
inherit version;
16
16
-
hash = "sha256-cBqMmXXEq8ReXROQarFJ+Vn4EoaRBjRzI6P4msDoKmI=";
17
17
-
};
18
18
-
dependencies = oldAttrs.dependencies ++ [
19
19
-
python3.pkgs.attrs
20
20
-
python3.pkgs.colorama
21
21
-
];
22
22
-
doCheck = false;
23
23
-
});
24
24
-
25
25
-
paho-mqtt = super.paho-mqtt.overridePythonAttrs (oldAttrs: rec {
26
26
-
version = "1.6.1";
27
27
-
src = fetchFromGitHub {
28
28
-
inherit (oldAttrs.src) owner repo;
29
29
-
tag = "v${version}";
30
30
-
hash = "sha256-9nH6xROVpmI+iTKXfwv2Ar1PAmWbEunI3HO0pZyK6Rg=";
31
31
-
};
32
32
-
build-system = with self; [ setuptools ];
33
33
-
doCheck = false;
34
34
-
});
35
35
-
};
36
36
-
};
37
37
-
in
38
38
-
with py.pkgs;
39
39
-
6
6
+
with python3.pkgs;
40
7
buildPythonApplication rec {
41
8
pname = "expliot";
42
42
-
version = "0.9.8";
9
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
49
-
hash = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
16
16
+
hash = "sha256-aFJVT5vE9YKirZEINKFzYWDffoVgluoUyvMmOifLq1M=";
50
17
};
18
18
+
19
19
+
build-system = [
20
20
+
poetry-core
21
21
+
];
51
22
52
23
pythonRelaxDeps = [
53
53
-
"pymodbus"
54
54
-
"pynetdicom"
55
24
"cryptography"
56
56
-
"python-can"
57
57
-
"pyparsing"
25
25
+
"paho-mqtt"
26
26
+
"pynetdicom"
27
27
+
"setuptools"
28
28
+
"xmltodict"
58
29
"zeroconf"
59
30
];
60
31
61
61
-
build-system = [ setuptools ];
62
62
-
63
32
dependencies = [
64
33
aiocoap
65
34
awsiotpythonsdk
66
35
bluepy
67
67
-
python-can
68
36
cmd2
69
37
cryptography
38
38
+
distro
39
39
+
jsonschema
70
40
paho-mqtt
71
41
pyi2cflash
72
42
pymodbus
73
43
pynetdicom
74
44
pyparsing
75
75
-
pyserial
76
45
pyspiflash
46
46
+
python-can
47
47
+
python-magic
48
48
+
pyudev
49
49
+
setuptools
77
50
upnpy
78
51
xmltodict
79
52
zeroconf
···
84
57
85
58
pythonImportsCheck = [ "expliot" ];
86
59
87
87
-
meta = with lib; {
60
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
98
-
license = licenses.agpl3Plus;
99
99
-
maintainers = with maintainers; [ fab ];
71
71
+
license = lib.licenses.agpl3Plus;
72
72
+
maintainers = with lib.maintainers; [ fab ];
100
73
mainProgram = "expliot";
101
74
};
102
75
}