nixpkgs/pkgs/tools/networking/urlwatch/default.nix

32 lines
687 B
Nix
Raw Normal View History

2016-12-01 20:14:22 -08:00
{ stdenv, fetchFromGitHub, python3Packages }:
2014-07-29 13:13:47 -07:00
python3Packages.buildPythonApplication rec {
2016-12-01 20:14:22 -08:00
name = "urlwatch-${version}";
2020-07-26 23:30:45 -07:00
version = "2.19";
2014-07-29 13:13:47 -07:00
2016-12-01 20:14:22 -08:00
src = fetchFromGitHub {
owner = "thp";
repo = "urlwatch";
rev = version;
2020-07-26 23:30:45 -07:00
sha256 = "05vxs0x8gnsv2r9cy0brqny1y5jnj2mw11lqc8lqahx84xcs2m00";
2014-07-29 13:13:47 -07:00
};
2016-01-17 13:00:39 -08:00
propagatedBuildInputs = with python3Packages; [
2017-11-09 02:56:12 -08:00
appdirs
2019-02-01 02:13:52 -08:00
cssselect
2016-07-09 03:16:30 -07:00
keyring
2018-09-03 13:14:39 -07:00
lxml
2016-01-17 13:00:39 -08:00
minidb
2017-11-09 02:56:12 -08:00
pycodestyle
2018-09-03 13:14:39 -07:00
pyyaml
requests
2016-01-17 13:00:39 -08:00
];
2014-07-29 13:13:47 -07:00
2016-12-01 20:14:22 -08:00
meta = with stdenv.lib; {
2014-07-29 13:13:47 -07:00
description = "A tool for monitoring webpages for updates";
homepage = "https://thp.io/2008/urlwatch/";
2016-12-01 20:14:22 -08:00
license = licenses.bsd3;
maintainers = with maintainers; [ tv ];
2014-07-29 13:13:47 -07:00
};
}