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