{ lib, fetchFromGitHub, python3, python3Packages, stdenv, }: python3Packages.buildPythonPackage rec { pname = "wikiteam3"; version = "4.4.7"; pyproject = true; build-system = [ python3Packages.setuptools ]; propagatedBuildInputs = [ python3Packages.pdm-backend python3Packages.requests python3Packages.internetarchive python3Packages.lxml python3Packages.mwclient python3Packages.file-read-backwards python3Packages.python-slugify ]; pythonRelaxDeps = [ "internetarchive" "lxml" ]; disabled = python3Packages.pythonOlder "3.8"; src = fetchFromGitHub { owner = "saveweb"; repo = "wikiteam3"; rev = "7b03b21baccb482ff57c6e606d9c8ac6e88f4291"; hash = "sha256-67ozwogX9hCDzgF8sGvvSrtH6mvfIgPii6PORy0hGz8="; }; #doCheck = false; pythonImportsCheck = [ "wikiteam3" "wikiteam3.dumpgenerator" "wikiteam3.tools" "wikiteam3.uploader" "wikiteam3.utils" ]; meta = { description = "archiving MediaWikis (and uploading wikidump to the Internet Archive)"; homepage = "https://github.com/saveweb/wikiteam3"; changelog = "https://github.com/saveweb/wikiteam3/tags"; license = lib.licenses.agpl3Plus; #maintainers = with lib.maintainers; [ ]; }; }