2021-01-02 10:06:26 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl }:
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "impacket";
|
2020-11-29 14:04:31 +00:00
|
|
|
version = "0.9.22";
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:31 +00:00
|
|
|
sha256 = "4bf7e7b595356585599b4b2773b8a463d7b9765c97012dcd5a44eb6d547f6a1d";
|
2019-09-23 09:49:22 +01:00
|
|
|
};
|
|
|
|
|
2021-01-02 10:06:26 +00:00
|
|
|
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl ];
|
2019-09-23 09:49:22 +01:00
|
|
|
|
2021-01-02 10:06:26 +00:00
|
|
|
# fail with:
|
|
|
|
# RecursionError: maximum recursion depth exceeded
|
2019-09-23 09:49:22 +01:00
|
|
|
doCheck = false;
|
2021-01-02 10:06:26 +00:00
|
|
|
pythonImportsCheck = [ "impacket" ];
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
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;
|
2021-01-02 10:06:26 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2019-09-23 09:49:22 +01:00
|
|
|
};
|
|
|
|
}
|