2022-04-21 11:28:17 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, chardet
|
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, ldapdomaindump
|
|
|
|
, pyasn1
|
|
|
|
, pycryptodomex
|
|
|
|
, pyopenssl
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
|
|
|
, six
|
|
|
|
}:
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "impacket";
|
2022-05-05 11:24:38 +01:00
|
|
|
version = "0.10.0";
|
2022-04-21 11:28:17 +01:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2019-09-23 09:49:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-05 11:24:38 +01:00
|
|
|
hash = "sha256-uOsCCiy7RxRmac/jHGS7Ln1kmdBJxJPWQYuXFvXHRYM=";
|
2019-09-23 09:49:22 +01:00
|
|
|
};
|
|
|
|
|
2022-04-21 11:28:17 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
chardet
|
|
|
|
flask
|
|
|
|
ldapdomaindump
|
|
|
|
pyasn1
|
|
|
|
pycryptodomex
|
|
|
|
pyopenssl
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
];
|
2019-09-23 09:49:22 +01:00
|
|
|
|
2021-01-02 10:06:26 +00:00
|
|
|
# RecursionError: maximum recursion depth exceeded
|
2019-09-23 09:49:22 +01:00
|
|
|
doCheck = false;
|
2022-04-21 11:28:17 +01: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
|
|
|
};
|
|
|
|
}
|