nixpkgs-suyu/pkgs/tools/networking/urlwatch/default.nix
2021-11-15 22:42:42 +01:00

41 lines
762 B
Nix

{ lib
, fetchFromGitHub
, python3Packages
}:
python3Packages.buildPythonApplication rec {
pname = "urlwatch";
version = "2.24";
src = fetchFromGitHub {
owner = "thp";
repo = "urlwatch";
rev = version;
sha256 = "sha256-H7dusAXVEGOUu2fr6UjiXjw13Gm9xNeJDQ4jqV+8QmU=";
};
propagatedBuildInputs = with python3Packages; [
appdirs
cssselect
keyring
lxml
markdown2
matrix-client
minidb
pushbullet
pycodestyle
pyppeteer
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 ];
};
}