2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-10-09 19:29:22 +00:00
|
|
|
, charset-normalizer
|
|
|
|
, dsinternals
|
2022-04-27 09:35:20 +00:00
|
|
|
, fetchPypi
|
|
|
|
, flask
|
|
|
|
, ldapdomaindump
|
|
|
|
, pyasn1
|
|
|
|
, pycryptodomex
|
|
|
|
, pyopenssl
|
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
|
|
|
, six
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "impacket";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.11.0";
|
2022-04-27 09:35:20 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-7kA5tNKu3o9fZEeLxZ+qyGA2eWviTeqNwY8An7CQXko=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-10-09 19:29:22 +00:00
|
|
|
charset-normalizer
|
|
|
|
dsinternals
|
2022-04-27 09:35:20 +00:00
|
|
|
flask
|
|
|
|
ldapdomaindump
|
|
|
|
pyasn1
|
|
|
|
pycryptodomex
|
|
|
|
pyopenssl
|
|
|
|
setuptools
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-05 17:05:55 +00:00
|
|
|
# RecursionError: maximum recursion depth exceeded
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
2022-04-27 09:35:20 +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";
|
2023-10-09 19:29:22 +00:00
|
|
|
changelog = "https://github.com/fortra/impacket/releases/tag/impacket_"
|
|
|
|
+ replaceStrings [ "." ] [ "_" ] version;
|
2020-04-24 23:36:52 +00:00
|
|
|
# Modified Apache Software License, Version 1.1
|
|
|
|
license = licenses.free;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|