Merge pull request #138589 from fabaff/fix-expliot

expliot: fix build
This commit is contained in:
Fabian Affolter 2021-09-22 10:30:37 +02:00 committed by GitHub
commit 7b78071f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -4818,7 +4818,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 { };