Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / impacket / default.nix
blob7c754225260115973295d36bfff0f9408599a1de
1 { lib
2 , buildPythonPackage
3 , charset-normalizer
4 , dsinternals
5 , fetchPypi
6 , flask
7 , ldapdomaindump
8 , pyasn1
9 , pycryptodomex
10 , pyopenssl
11 , pythonOlder
12 , setuptools
13 , six
16 buildPythonPackage rec {
17   pname = "impacket";
18   version = "0.11.0";
19   format = "setuptools";
21   disabled = pythonOlder "3.7";
23   src = fetchPypi {
24     inherit pname version;
25     hash = "sha256-7kA5tNKu3o9fZEeLxZ+qyGA2eWviTeqNwY8An7CQXko=";
26   };
28   propagatedBuildInputs = [
29     charset-normalizer
30     dsinternals
31     flask
32     ldapdomaindump
33     pyasn1
34     pycryptodomex
35     pyopenssl
36     setuptools
37     six
38   ];
40   # RecursionError: maximum recursion depth exceeded
41   doCheck = false;
43   pythonImportsCheck = [
44     "impacket"
45   ];
47   meta = with lib; {
48     description = "Network protocols Constructors and Dissectors";
49     homepage = "https://github.com/SecureAuthCorp/impacket";
50     changelog = "https://github.com/fortra/impacket/releases/tag/impacket_"
51       + replaceStrings [ "." ] [ "_" ] version;
52     # Modified Apache Software License, Version 1.1
53     license = licenses.free;
54     maintainers = with maintainers; [ fab ];
55   };