shot-scraper: 1.8 -> 1.9 (#479800)

This commit is contained in:
Fabian Affolter
2026-01-14 07:44:32 +00:00
committed by GitHub
+13 -10
View File
@@ -4,19 +4,24 @@
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "shot-scraper";
version = "1.8";
version = "1.9";
pyproject = true;
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
@@ -28,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";
};
}
})