nixpkgs/pkgs/tools/security/enum4linux-ng/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
986 B
Nix
Raw Normal View History

2021-01-18 08:50:26 +00:00
{ lib
, buildPythonApplication
, fetchFromGitHub
, impacket
, ldap3
, pyyaml
, samba
}:
buildPythonApplication rec {
pname = "enum4linux-ng";
2023-02-05 22:28:11 +00:00
version = "1.3.1";
2021-01-18 08:50:26 +00:00
src = fetchFromGitHub {
owner = "cddmp";
repo = pname;
2022-12-15 23:26:53 +00:00
rev = "refs/tags/v${version}";
2023-02-05 22:28:11 +00:00
hash = "sha256-qO34sVK8eunALPCzLoCqWkO78tG4iEavij8jClCRi88=";
2021-01-18 08:50:26 +00:00
};
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";
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";
2022-12-16 08:24:34 +00:00
changelog = "https://github.com/cddmp/enum4linux-ng/releases/tag/v${version}";
2021-01-18 08:50:26 +00:00
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}