6 python3.pkgs.buildPythonApplication rec {
11 src = fetchFromGitHub {
14 rev = "refs/tags/v${version}";
15 hash = "sha256-9Zs5Z+3JiBiJkV9Ixl5pPmLv0dUT59CT0UkQDsmneWc=";
18 propagatedBuildInputs = with python3.pkgs; [
30 # Project has no tests
33 doInstallCheck = true;
35 installCheckPhase = ''
36 runHook preInstallCheck
37 $out/bin/erosmb --help
38 runHook postInstallCheck
42 description = "SMB network scanner";
43 homepage = "https://github.com/viktor02/EroSmb";
44 changelog = "https://github.com/viktor02/EroSmb/releases/tag/v${version}";
45 license = with licenses; [ mit ];
46 maintainers = with maintainers; [ fab ];
47 mainProgram = "erosmb";