blob: c6ea7e7b7d2042becc619881bef4e05a460a10d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
lib,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
impacket,
ldap3-bleeding-edge,
lxml,
pyasn1,
pycryptodome,
setuptools,
}:
buildPythonPackage rec {
pname = "pywerview";
version = "0.7.5";
pyproject = true;
src = fetchFromGitHub {
owner = "the-useless-one";
repo = "pywerview";
tag = "v${version}";
hash = "sha256-wl7/u9Uja/FflO3tN3UyanX2LIRG417RfWdyZCtUtGs=";
};
build-system = [ setuptools ];
dependencies = [
beautifulsoup4
impacket
ldap3-bleeding-edge
lxml
pycryptodome
pyasn1
];
optional-dependencies = {
kerberos = [ ldap3-bleeding-edge ] ++ ldap3-bleeding-edge.optional-dependencies.kerberos;
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pywerview" ];
meta = {
description = "Module for PowerSploit's PowerView support";
homepage = "https://github.com/the-useless-one/pywerview";
changelog = "https://github.com/the-useless-one/pywerview/releases/tag/${src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "pywerview";
};
}
|