1{ lib
2, buildPythonApplication
3, fetchFromGitHub
4, impacket
5, ldap3
6, pyyaml
7, samba
8}:
9
10buildPythonApplication rec {
11 pname = "enum4linux-ng";
12 version = "1.3.2";
13
14 src = fetchFromGitHub {
15 owner = "cddmp";
16 repo = pname;
17 rev = "refs/tags/v${version}";
18 hash = "sha256-O3TZcCn2kRLrMjQPVg8F5Q2ri968xRbXrdnfytfMkYM=";
19 };
20
21 propagatedBuildInputs = [
22 impacket
23 ldap3
24 pyyaml
25 samba
26 ];
27
28 # It's only a script and not a Python module. Project has no tests
29 doCheck = false;
30
31 meta = with lib; {
32 description = "Windows/Samba enumeration tool";
33 longDescription = ''
34 enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
35 enumerating information from Windows and Samba systems.
36 '';
37 homepage = "https://github.com/cddmp/enum4linux-ng";
38 changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
39 license = with licenses; [ gpl3Plus ];
40 maintainers = with maintainers; [ fab ];
41 };
42}