Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pywerview / default.nix
blobac637d4501a89a10210a60639db46b6c2e20e352
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchFromGitHub
5 , gssapi
6 , impacket
7 , ldap3
8 , lxml
9 , pyasn1
10 , pycryptodome
11 , pythonOlder
14 buildPythonPackage rec {
15   pname = "pywerview";
16   version = "0.5.2";
17   format = "setuptools";
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "the-useless-one";
23     repo = pname;
24     rev = "refs/tags/v${version}";
25     hash = "sha256-BWH9zYrlbzQC0/cc5k5BlXWyh38gI+hwwTCWhe1xgog=";
26   };
28   propagatedBuildInputs = [
29     beautifulsoup4
30     gssapi
31     impacket
32     ldap3
33     lxml
34     pycryptodome
35     pyasn1
36   ];
38   # Module has no tests
39   doCheck = false;
41   pythonImportsCheck = [
42     "pywerview"
43   ];
45   meta = with lib; {
46     description = "Module for PowerSploit's PowerView support";
47     homepage = "https://github.com/the-useless-one/pywerview";
48     changelog = "https://github.com/the-useless-one/pywerview/releases/tag/v${version}";
49     license = licenses.gpl3Plus;
50     maintainers = with maintainers; [ fab ];
51   };