Skip to content

Commit

Permalink
shot-scraper: init at 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick committed Mar 20, 2023
1 parent b453fb3 commit 76b5525
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/tools/graphics/shot-scraper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib
, python3
}:

python3.pkgs.buildPythonApplication rec {
pname = "shot-scraper";
version = "1.1.1";
format = "setuptools";

disabled = python3.pkgs.pythonOlder "3.6";

src = python3.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-YfWiy44rCRXK5xVkmA9X7pAlDhZrk6nS9vbC2eYvjbg=";
};

propagatedBuildInputs = with python3.pkgs; [
click
click-default-group
playwright
pyyaml
];

# skip tests due to network access
doCheck = false;

pythonImportsCheck = [
"shot_scraper"
];

meta = with lib; {
description = "A command-line utility for taking automated screenshots of websites";
homepage = "https://github.com/simonw/shot-scraper";
license = licenses.asl20;
maintainers = with maintainers; [ techknowlogick ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33147,6 +33147,8 @@ with pkgs;

shotgun = callPackage ../tools/graphics/shotgun { };

shot-scraper = callPackage ../tools/graphics/shot-scraper { };

shutter = callPackage ../applications/graphics/shutter { };

sic-image-cli = callPackage ../tools/graphics/sic-image-cli { };
Expand Down

0 comments on commit 76b5525

Please sign in to comment.