-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b453fb3
commit 76b5525
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters