2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
name = "urlwatch-${version}";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "2.18";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thp";
|
|
|
|
repo = "urlwatch";
|
|
|
|
rev = version;
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "14dmyk95v3kajhn1w2lpil3rjs78y0wxylsxclv6zjxgjcc1xsi3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
appdirs
|
|
|
|
cssselect
|
|
|
|
keyring
|
|
|
|
lxml
|
|
|
|
minidb
|
|
|
|
pycodestyle
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A tool for monitoring webpages for updates";
|
|
|
|
homepage = "https://thp.io/2008/urlwatch/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ tv ];
|
|
|
|
};
|
|
|
|
}
|