ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
43 lines
1,021 B
Nix
43 lines
1,021 B
Nix
{ lib
|
|
, buildPythonApplication
|
|
, fetchFromGitHub
|
|
, impacket
|
|
, ldap3
|
|
, pyyaml
|
|
, samba
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "enum4linux-ng";
|
|
version = "1.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cddmp";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-O3TZcCn2kRLrMjQPVg8F5Q2ri968xRbXrdnfytfMkYM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
impacket
|
|
ldap3
|
|
pyyaml
|
|
samba
|
|
];
|
|
|
|
# It's only a script and not a Python module. Project has no tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Windows/Samba enumeration tool";
|
|
mainProgram = "enum4linux-ng";
|
|
longDescription = ''
|
|
enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for
|
|
enumerating information from Windows and Samba systems.
|
|
'';
|
|
homepage = "https://github.com/cddmp/enum4linux-ng";
|
|
changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
|
|
license = with licenses; [ gpl3Plus ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|