Unverified Commit 6f74752c authored by Emily Trau's avatar Emily Trau Committed by GitHub
Browse files

Merge pull request #326221 from emilytrau/cewler

cewler: init at 1.2.0
parents 92b4acfc 335505c0
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
, gitUpdater
}:

python3.pkgs.buildPythonApplication rec {
  pname = "cewler";
  version = "1.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "roys";
    repo = "cewler";
    rev = "v${version}";
    hash = "sha256-nlF+B7Z1GRo3ZrGhG58c0vLcJAW+PvXT2tfFoyElw7w=";
  };

  nativeBuildInputs = with python3.pkgs; [
    setuptools
    wheel
    pythonRelaxDepsHook
  ];

  propagatedBuildInputs = with python3.pkgs; [
    pypdf
    rich
    scrapy
    tld
    twisted
  ];

  pythonRelaxDeps = true;
  # Tests require network access
  doCheck = false;

  passthru.updateScript = gitUpdater { rev-prefix = "v"; };

  meta = with lib; {
    description = "Custom Word List generator Redefined";
    mainProgram = "cewler";
    homepage = "https://github.com/roys/cewler";
    license = licenses.cc-by-nc-40;
    maintainers = with maintainers; [ emilytrau ];
  };
}