587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
41 lines
853 B
Nix
41 lines
853 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "smbmap";
|
|
version = "1.10.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ShawnDEvans";
|
|
repo = "smbmap";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-6+kO2Wfz3gGABS4fGxoebCubzvFAaJIGnMPA+k1mckc=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
impacket
|
|
pyasn1
|
|
pycrypto
|
|
configparser
|
|
termcolor
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"smbmap"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SMB enumeration tool";
|
|
mainProgram = "smbmap";
|
|
homepage = "https://github.com/ShawnDEvans/smbmap";
|
|
changelog = "https://github.com/ShawnDEvans/smbmap/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|