2021-09-15 17:33:23 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet, setuptools }:
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "impacket";
|
2021-06-19 09:33:02 +01:00
|
|
|
version = "0.9.23";
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:22 +01:00
|
|
|
sha256 = "1c1be8a50cdbe3cffc566ba64f552b1b28bcc79b7a406b833956b49c56d77184";
|
2019-09-23 09:49:22 +01:00
|
|
|
};
|
|
|
|
|
2021-09-15 17:33:23 +01:00
|
|
|
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet setuptools ];
|
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";
|
2021-06-19 09:33:02 +01:00
|
|
|
homepage = "https://github.com/SecureAuthCorp/impacket";
|
2019-09-23 09:49:22 +01:00
|
|
|
# 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
|
|
|
};
|
|
|
|
}
|