wayback-machine-archiver: 1.9.1 -> 3.5.2 (#524360)
This commit is contained in:
@@ -1,43 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "wayback-machine-archiver";
|
||||
version = "1.9.1";
|
||||
version = "3.5.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "agude";
|
||||
repo = "wayback-machine-archiver";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "0dnnqx507gpj8wsx6f2ivfmha969ydayiqsvxh23p9qcixw9257x";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-LUWPc1wMSpBIdaje/pbmQYHTrYog/9UiphMY1fzxgPc=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
pypandoc
|
||||
build-system = with python3Packages; [ setuptools ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
requests
|
||||
python-dotenv
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [ requests ];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
nativeCheckInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail \"pytest-runner\", ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "wayback_machine_archiver" ];
|
||||
|
||||
meta = {
|
||||
description = "Python script to submit web pages to the Wayback Machine for archiving";
|
||||
homepage = "https://github.com/agude/wayback-machine-archiver";
|
||||
changelog = "https://github.com/agude/wayback-machine-archiver/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dandellion ];
|
||||
mainProgram = "archiver";
|
||||
|
||||
Reference in New Issue
Block a user