nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 1.1 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5 samba, 6}: 7 8python3.pkgs.buildPythonApplication rec { 9 pname = "enum4linux-ng"; 10 version = "1.3.7"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "cddmp"; 15 repo = "enum4linux-ng"; 16 tag = "v${version}"; 17 hash = "sha256-Crd5sc0sYvYufN0bK4Qh7iSy22utQet6X1UlPlS48XI="; 18 }; 19 20 build-system = with python3.pkgs; [ setuptools ]; 21 22 dependencies = [ 23 samba 24 ] 25 ++ (with python3.pkgs; [ 26 impacket 27 ldap3 28 pyyaml 29 ]); 30 31 # It's only a script and not a Python module. Project has no tests 32 doCheck = false; 33 34 meta = { 35 description = "Windows/Samba enumeration tool"; 36 longDescription = '' 37 enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for 38 enumerating information from Windows and Samba systems. 39 ''; 40 homepage = "https://github.com/cddmp/enum4linux-ng"; 41 changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/${src.tag}"; 42 license = with lib.licenses; [ gpl3Plus ]; 43 maintainers = with lib.maintainers; [ fab ]; 44 mainProgram = "enum4linux-ng"; 45 }; 46}