My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/security/erosmb/default.nix

47 lines
877 B

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "erosmb";
version = "0.1.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "viktor02";
repo = "EroSmb";
rev = "v${version}";
hash = "sha256-d7iSl7weIHWXDnMYQKxafVd5JrZ0fnuWRDpEirBVdcg=";
};
propagatedBuildInputs = with python3.pkgs; [
chardet
colorama
cryptography
impacket
ldap3
ldapdomaindump
pyasn1
setuptools
six
];
# Project has no tests
doCheck = false;
doInstallCheck = true;
installCheckPhase = ''
runHook preInstallCheck
$out/bin/erosmb --help
runHook postInstallCheck
'';
meta = with lib; {
description = "SMB network scanner";
homepage = "https://github.com/viktor02/EroSmb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}