{ lib, fetchFromGitHub, python3, python3Packages, stdenv, }: python3Packages.buildPythonPackage rec { pname = "wikiteam3"; version = "0.2.4"; pyproject = true; build-system = [ python3Packages.setuptools ]; propagatedBuildInputs = [ python3Packages.pdm-backend python3Packages.requests python3Packages.beautifulsoup4 python3Packages.lxml python3Packages.internetarchive python3Packages.rich python3Packages.python-slugify python3Packages.typing-extensions ]; pythonRelaxDeps = [ "lxml" ]; postPatch = '' substituteInPlace dokuWikiDumper/dump/doku_dumper.py --replace-fail \ "avoidSites(doku_url, session=session)" \ "if not \"SW_IGAVS\" in os.environ.keys(): avoidSites(doku_url, session=session)" ''; disabled = python3Packages.pythonOlder "3.8"; src = fetchFromGitHub { owner = "saveweb"; repo = "dokuwiki-dumper"; rev = "83f1c8e0176c756476cf178f4ca784c338918254"; hash = "sha256-jMkhXcOuVSEwebRR3sH0jybCJfvoMTMnVBSXdzleHe4="; }; #doCheck = false; pythonImportsCheck = [ "dokuWikiDumper" "dokuWikiUploader" ]; meta = { description = "A tool for archiving DokuWiki"; homepage = "https://github.com/saveweb/dokuwiki-dumper"; changelog = "https://github.com/saveweb/dokuwiki-dumper/tags"; license = lib.licenses.gpl3; #maintainers = with lib.maintainers; [ ]; }; }