2016-12-02 04:14:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
2014-07-29 21:13:47 +01:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2016-12-02 04:14:22 +00:00
|
|
|
name = "urlwatch-${version}";
|
2019-04-16 16:26:48 +01:00
|
|
|
version = "2.17";
|
2014-07-29 21:13:47 +01:00
|
|
|
|
2016-12-02 04:14:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thp";
|
|
|
|
repo = "urlwatch";
|
|
|
|
rev = version;
|
2019-04-16 16:26:48 +01:00
|
|
|
sha256 = "1865p3yczgpq8gvgh4cpgbx2ibc1fwycd7pagga9sj8r3q0giqyk";
|
2014-07-29 21:13:47 +01: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 11:16:30 +01:00
|
|
|
keyring
|
2018-09-03 21:14:39 +01:00
|
|
|
lxml
|
2016-01-17 21:00:39 +00:00
|
|
|
minidb
|
2017-11-09 10:56:12 +00:00
|
|
|
pycodestyle
|
2018-09-03 21:14:39 +01:00
|
|
|
pyyaml
|
2017-05-07 11:55:45 +01:00
|
|
|
requests
|
2016-01-17 21:00:39 +00:00
|
|
|
];
|
2014-07-29 21:13:47 +01:00
|
|
|
|
2016-12-02 04:14:22 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-07-29 21:13:47 +01:00
|
|
|
description = "A tool for monitoring webpages for updates";
|
|
|
|
homepage = https://thp.io/2008/urlwatch/;
|
2016-12-02 04:14:22 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ tv ];
|
2014-07-29 21:13:47 +01:00
|
|
|
};
|
|
|
|
}
|