Unverified Commit 025f12c4 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

smtp-user-enum: init at 0.7.0 (#450118)

parents 1db22c4d 7869bf20
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  python3,
}:

python3.pkgs.buildPythonApplication rec {
  pname = "smtp-user-enum";
  version = "0.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "cytopia";
    repo = "smtp-user-enum";
    tag = version;
    hash = "sha256-2GI//nv87H2zDkkgjAHSx2Zm2Sk0EpxmXQAN+I1K65I=";
  };

  pythonRemoveDeps = [
    # https://github.com/cytopia/smtp-user-enum/pull/21
    "argparse"
  ];

  build-system = with python3.pkgs; [ setuptools ];

  # Project has no tests
  doCheck = false;

  meta = {
    description = "SMTP user enumeration via VRFY, EXPN and RCPT with clever timeout, retry and reconnect functionality";
    homepage = "https://github.com/cytopia/smtp-user-enum";
    changelog = "https://github.com/cytopia/smtp-user-enum/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    mainProgram = "smtp-user-enum";
  };
}