2021-06-19 09:33:02 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet }:
|
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-19 09:33:02 +01:00
|
|
|
sha256 = "113isxb9rd2n761nnh3skg3vqa0v5dalz9kbavyczqyv1jjyh6qw";
|
2019-09-23 09:49:22 +01:00
|
|
|
};
|
|
|
|
|
2021-06-19 09:33:02 +01:00
|
|
|
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet ];
|
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
|
|
|
};
|
|
|
|
}
|