Thomas Gerbet 59979f8746 pythonPackages.impacket: 0.9.22 -> 0.9.23
Fixes CVE-2021-31800.
https://github.com/SecureAuthCorp/impacket/releases/tag/impacket_0_9_23

(cherry picked from commit 31c39c11ca197f2e64ca90dcb329ff052d9bde68)
2021-06-19 11:00:33 -07:00

27 lines
812 B
Nix

{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet }:
buildPythonPackage rec {
pname = "impacket";
version = "0.9.23";
src = fetchPypi {
inherit pname version;
sha256 = "113isxb9rd2n761nnh3skg3vqa0v5dalz9kbavyczqyv1jjyh6qw";
};
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet ];
# fail with:
# RecursionError: maximum recursion depth exceeded
doCheck = false;
pythonImportsCheck = [ "impacket" ];
meta = with lib; {
description = "Network protocols Constructors and Dissectors";
homepage = "https://github.com/SecureAuthCorp/impacket";
# Modified Apache Software License, Version 1.1
license = licenses.free;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}