pythonPackages.impackt: Fix dependencies

This commit is contained in:
Sandro Jäckel 2021-01-02 11:06:26 +01:00
parent 9b2ddc9ad0
commit aa1cbfe0da
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl }:
buildPythonPackage rec {
pname = "impacket";
@ -9,16 +9,18 @@ buildPythonPackage rec {
sha256 = "4bf7e7b595356585599b4b2773b8a463d7b9765c97012dcd5a44eb6d547f6a1d";
};
disabled = isPy3k;
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl ];
# no tests
# fail with:
# RecursionError: maximum recursion depth exceeded
doCheck = false;
pythonImportsCheck = [ "impacket" ];
meta = with lib; {
description = "Network protocols Constructors and Dissectors";
homepage = "https://github.com/CoreSecurity/impacket";
# Modified Apache Software License, Version 1.1
license = licenses.free;
maintainers = with maintainers; [ peterhoeg ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}