nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #171638 from fabaff/erosmb

erosmb: init at 0.1.1

authored by

Fabian Affolter and committed by
GitHub
ef93fb84 be824c12

+49
+47
pkgs/tools/security/erosmb/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "erosmb"; 8 + version = "0.1.1"; 9 + format = "pyproject"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "viktor02"; 13 + repo = "EroSmb"; 14 + rev = "v${version}"; 15 + hash = "sha256-d7iSl7weIHWXDnMYQKxafVd5JrZ0fnuWRDpEirBVdcg="; 16 + }; 17 + 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + chardet 20 + colorama 21 + cryptography 22 + impacket 23 + ldap3 24 + ldapdomaindump 25 + pyasn1 26 + setuptools 27 + six 28 + ]; 29 + 30 + # Project has no tests 31 + doCheck = false; 32 + 33 + doInstallCheck = true; 34 + 35 + installCheckPhase = '' 36 + runHook preInstallCheck 37 + $out/bin/erosmb --help 38 + runHook postInstallCheck 39 + ''; 40 + 41 + meta = with lib; { 42 + description = "SMB network scanner"; 43 + homepage = "https://github.com/viktor02/EroSmb"; 44 + license = with licenses; [ mit ]; 45 + maintainers = with maintainers; [ fab ]; 46 + }; 47 + }
+2
pkgs/top-level/all-packages.nix
··· 440 440 441 441 enum4linux-ng = python3Packages.callPackage ../tools/security/enum4linux-ng { }; 442 442 443 + erosmb = callPackage ../tools/security/erosmb { }; 444 + 443 445 onesixtyone = callPackage ../tools/security/onesixtyone {}; 444 446 445 447 oletools = with python3.pkgs; toPythonApplication oletools;