1 { lib, python3, fetchFromGitHub }:
3 python3.pkgs.buildPythonApplication rec {
4 pname = "wayback-machine-archiver";
7 src = fetchFromGitHub {
9 repo = "wayback-machine-archiver";
11 sha256 = "0dnnqx507gpj8wsx6f2ivfmha969ydayiqsvxh23p9qcixw9257x";
14 nativeBuildInputs = with python3.pkgs; [ pypandoc ];
15 propagatedBuildInputs = with python3.pkgs; [ requests ];
16 checkInputs = with python3.pkgs; [ pytestCheckHook requests-mock ];
19 substituteInPlace setup.py \
20 --replace \"pytest-runner\", ""
23 pythonImportsCheck = [ "wayback_machine_archiver" ];
26 description = "A Python script to submit web pages to the Wayback Machine for archiving";
27 homepage = "https://github.com/agude/wayback-machine-archiver";
28 license = licenses.mit;
29 maintainers = with maintainers; [ dandellion ];