nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 924 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "smtp-user-enum"; 9 version = "0.7.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "cytopia"; 14 repo = "smtp-user-enum"; 15 tag = version; 16 hash = "sha256-2GI//nv87H2zDkkgjAHSx2Zm2Sk0EpxmXQAN+I1K65I="; 17 }; 18 19 pythonRemoveDeps = [ 20 # https://github.com/cytopia/smtp-user-enum/pull/21 21 "argparse" 22 ]; 23 24 build-system = with python3.pkgs; [ setuptools ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 meta = { 30 description = "SMTP user enumeration via VRFY, EXPN and RCPT with clever timeout, retry and reconnect functionality"; 31 homepage = "https://github.com/cytopia/smtp-user-enum"; 32 changelog = "https://github.com/cytopia/smtp-user-enum/releases/tag/${src.tag}"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ fab ]; 35 mainProgram = "smtp-user-enum"; 36 }; 37}