diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-20 00:34:27 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-20 00:34:27 +0200 |
commit | 8c769a34e7e342a507e18e868ff0e0362c6f0121 (patch) | |
tree | 295dbab602b536fc5f171cb2c7cf13c65f01f568 /pkgs/tools/security | |
parent | b5044c183381165cae03bc287401fb3fb4c420a7 (diff) |
expliot: fix build
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/expliot/default.nix | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/pkgs/tools/security/expliot/default.nix b/pkgs/tools/security/expliot/default.nix index 02a9ea5ee74f2..2a3c1df0e8f74 100644 --- a/pkgs/tools/security/expliot/default.nix +++ b/pkgs/tools/security/expliot/default.nix @@ -1,29 +1,28 @@ { lib -, aiocoap -, awsiotpythonsdk -, bluepy -, buildPythonApplication -, can -, cmd2 -, cryptography , fetchFromGitLab -, paho-mqtt -, pyi2cflash -, pymodbus -, pynetdicom -, pyparsing -, pyserial -, pyspiflash -, pythonOlder -, upnpy -, xmltodict -, zeroconf +, python3 }: +let + py = python3.override { + packageOverrides = self: super: { + + cmd2 = super.cmd2.overridePythonAttrs (oldAttrs: rec { + version = "1.5.0"; + src = oldAttrs.src.override { + inherit version; + sha256 = "0qiax309my534drk81lihq9ghngr96qnm40kbmgc9ay4fncqq6kh"; + }; + }); + }; + }; +in +with py.pkgs; buildPythonApplication rec { pname = "expliot"; version = "0.9.8"; - disabled = pythonOlder "3.7"; + + disabled = python3.pythonOlder "3.7"; src = fetchFromGitLab { owner = "expliot_framework"; @@ -53,6 +52,7 @@ buildPythonApplication rec { # Project has no tests doCheck = false; + pythonImportsCheck = [ "expliot" ]; meta = with lib; { |