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-10-28 13:35:25 +01:00
|
|
|
version = "0.9.24";
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-28 13:35:25 +01:00
|
|
|
sha256 = "18d557d387f4914fafa739813b9172bc3f8bd9c036e93bf589a8e0ebb7304bba";
|
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
|
|
|
};
|
|
|
|
}
|