shot-scraper: 1.8 -> 1.9

Changelog: https://github.com/simonw/shot-scraper/releases/tag/1.9
This commit is contained in:
Fabian Affolter
2026-01-13 21:09:42 +01:00
parent 41a3dd8ec2
commit e00c738186
+13 -12
View File
@@ -4,21 +4,24 @@
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "shot-scraper";
version = "1.8";
version = "1.9";
pyproject = true;
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "simonw";
repo = "shot-scraper";
tag = version;
hash = "sha256-CSV9HOqVMHI/L+jyMTdaDyc6ACyGIkG/mmcyRza6EjQ=";
tag = finalAttrs.version;
hash = "sha256-HIiUZZz2/EqTdaCtiaqVaJfbRwkoYL8H6XHaIYP0R6M=";
};
build-system = with python3.pkgs; [ setuptools ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.9.18,<0.10.0" "uv_build"
'';
build-system = with python3.pkgs; [ uv-build ];
dependencies = with python3.pkgs; [
click
@@ -30,16 +33,14 @@ python3.pkgs.buildPythonApplication rec {
# skip tests due to network access
doCheck = false;
pythonImportsCheck = [
"shot_scraper"
];
pythonImportsCheck = [ "shot_scraper" ];
meta = {
description = "Command-line utility for taking automated screenshots of websites";
homepage = "https://github.com/simonw/shot-scraper";
changelog = "https://github.com/simonw/shot-scraper/releases/tag/${src.tag}";
changelog = "https://github.com/simonw/shot-scraper/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ techknowlogick ];
mainProgram = "shot-scraper";
};
}
})