2021-05-25 19:36:46 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
|
|
|
}:
|
2014-07-29 20:13:47 +00:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2021-01-06 12:54:45 +00:00
|
|
|
pname = "urlwatch";
|
2021-11-15 21:42:42 +00:00
|
|
|
version = "2.24";
|
2014-07-29 20:13:47 +00:00
|
|
|
|
2016-12-02 04:14:22 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-05-25 19:36:46 +00:00
|
|
|
owner = "thp";
|
|
|
|
repo = "urlwatch";
|
|
|
|
rev = version;
|
2021-11-15 21:42:42 +00:00
|
|
|
sha256 = "sha256-H7dusAXVEGOUu2fr6UjiXjw13Gm9xNeJDQ4jqV+8QmU=";
|
2014-07-29 20:13:47 +00:00
|
|
|
};
|
|
|
|
|
2016-01-17 21:00:39 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2017-11-09 10:56:12 +00:00
|
|
|
appdirs
|
2019-02-01 10:13:52 +00:00
|
|
|
cssselect
|
2016-07-09 10:16:30 +00:00
|
|
|
keyring
|
2018-09-03 20:14:39 +00:00
|
|
|
lxml
|
2021-05-25 19:36:46 +00:00
|
|
|
markdown2
|
|
|
|
matrix-client
|
2016-01-17 21:00:39 +00:00
|
|
|
minidb
|
2021-05-25 19:36:46 +00:00
|
|
|
pushbullet
|
2017-11-09 10:56:12 +00:00
|
|
|
pycodestyle
|
2021-05-25 19:36:46 +00:00
|
|
|
pyppeteer
|
2018-09-03 20:14:39 +00:00
|
|
|
pyyaml
|
2017-05-07 10:55:45 +00:00
|
|
|
requests
|
2016-01-17 21:00:39 +00:00
|
|
|
];
|
2014-07-29 20:13:47 +00:00
|
|
|
|
2021-01-06 12:54:45 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-07-29 20:13:47 +00:00
|
|
|
description = "A tool for monitoring webpages for updates";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://thp.io/2008/urlwatch/";
|
2016-12-02 04:14:22 +00:00
|
|
|
license = licenses.bsd3;
|
2020-11-17 19:58:17 +00:00
|
|
|
maintainers = with maintainers; [ kmein tv ];
|
2014-07-29 20:13:47 +00:00
|
|
|
};
|
|
|
|
}
|