2021-09-22 15:38:15 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet, setuptools }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "impacket";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.9.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "18d557d387f4914fafa739813b9172bc3f8bd9c036e93bf589a8e0ebb7304bba";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-22 15:38:15 +00:00
|
|
|
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
# fail with:
|
|
|
|
# RecursionError: maximum recursion depth exceeded
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
2021-01-05 17:05:55 +00:00
|
|
|
pythonImportsCheck = [ "impacket" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Network protocols Constructors and Dissectors";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/SecureAuthCorp/impacket";
|
2020-04-24 23:36:52 +00:00
|
|
|
# Modified Apache Software License, Version 1.1
|
|
|
|
license = licenses.free;
|
2021-01-05 17:05:55 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|