nixpkgs/pkgs/tools/networking/urlwatch/default.nix
K900 b037d475e7 urlwatch: replace pyppeteer with playwright
Upstream changed in 2.28, this was missed, and pyppeteer is very dead
2024-01-08 18:41:29 +03:00

43 lines
771 B
Nix

{ lib
, fetchFromGitHub
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "urlwatch";
version = "2.28";
src = fetchFromGitHub {
owner = "thp";
repo = "urlwatch";
rev = version;
hash = "sha256-dGohG2+HrsuKegPAn1fmpLYPpovEEUsx+C/0sp2/cX0=";
};
propagatedBuildInputs = with python3Packages; [
appdirs
cssselect
jq
keyring
lxml
markdown2
matrix-client
minidb
playwright
pushbullet-py
pycodestyle
pyyaml
requests
];
# no tests
doCheck = false;
meta = with lib; {
description = "A tool for monitoring webpages for updates";
homepage = "https://thp.io/2008/urlwatch/";
license = licenses.bsd3;
maintainers = with maintainers; [ kmein tv ];
};
}