Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 48 lines 966 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "erosmb"; 8 version = "0.1.5"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "viktor02"; 13 repo = "EroSmb"; 14 rev = "refs/tags/v${version}"; 15 hash = "sha256-9Zs5Z+3JiBiJkV9Ixl5pPmLv0dUT59CT0UkQDsmneWc="; 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 changelog = "https://github.com/viktor02/EroSmb/releases/tag/v${version}"; 45 license = with licenses; [ mit ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}