biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / graphics / shot-scraper / default.nix
blobf162570c341c53134c83164a38de7c876fc9dfcd
1 { lib
2 , python3
3 , fetchPypi
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "shot-scraper";
8   version = "1.4";
9   format = "setuptools";
11   disabled = python3.pkgs.pythonOlder "3.6";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-hPzOwvTQAFs9IQRkq/uw+pHv5ZP5XU3Zn605SL8udPA=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     click
20     click-default-group
21     playwright
22     pyyaml
23   ];
25   # skip tests due to network access
26   doCheck = false;
28   pythonImportsCheck = [
29     "shot_scraper"
30   ];
32   meta = with lib; {
33     description = "Command-line utility for taking automated screenshots of websites";
34     homepage = "https://github.com/simonw/shot-scraper";
35     changelog = "https://github.com/simonw/shot-scraper/releases/tag/${version}";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ techknowlogick ];
38     mainProgram = "shot-scraper";
39   };