depot/third_party/nixpkgs/pkgs/by-name/ce/cewler/package.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

46 lines
910 B
Nix

{ 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 ];
};
}