Merge pull request #281309 from fabaff/impacket-tests

python311Packages.impacket: enable tests
This commit is contained in:
Fabian Affolter
2024-01-19 20:21:13 +01:00
committed by GitHub
@@ -4,19 +4,21 @@
, dsinternals
, fetchPypi
, flask
, ldap3
, ldapdomaindump
, pyasn1
, pycryptodomex
, pyopenssl
, pythonOlder
, setuptools
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "impacket";
version = "0.11.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -25,25 +27,36 @@ buildPythonPackage rec {
hash = "sha256-7kA5tNKu3o9fZEeLxZ+qyGA2eWviTeqNwY8An7CQXko=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
charset-normalizer
dsinternals
flask
ldap3
ldapdomaindump
pyasn1
pycryptodomex
pyopenssl
setuptools
six
];
# RecursionError: maximum recursion depth exceeded
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"impacket"
];
disabledTestPaths = [
# Skip all RPC related tests
"tests/dcerpc/"
"tests/SMB_RPC/"
];
meta = with lib; {
description = "Network protocols Constructors and Dissectors";
homepage = "https://github.com/SecureAuthCorp/impacket";