expliot: fix build

This commit is contained in:
Fabian Affolter 2021-09-20 00:34:27 +02:00
parent b5044c1833
commit 8c769a34e7
2 changed files with 20 additions and 20 deletions

View File

@ -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; {

View File

@ -4786,7 +4786,7 @@ with pkgs;
expect = callPackage ../tools/misc/expect { };
expliot = python3Packages.callPackage ../tools/security/expliot { };
expliot = callPackage ../tools/security/expliot { };
f2fs-tools = callPackage ../tools/filesystems/f2fs-tools { };