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

32 lines
687 B
Nix
Raw Normal View History

2016-12-02 05:14:22 +01:00
{ stdenv, fetchFromGitHub, python3Packages }:
2014-07-29 22:13:47 +02:00
python3Packages.buildPythonApplication rec {
2016-12-02 05:14:22 +01:00
name = "urlwatch-${version}";
2020-05-10 23:42:54 +02:00
version = "2.18";
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-05-10 23:42:54 +02:00
sha256 = "14dmyk95v3kajhn1w2lpil3rjs78y0wxylsxclv6zjxgjcc1xsi3";
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
requests
2016-01-17 22:00:39 +01:00
];
2014-07-29 22:13:47 +02:00
2016-12-02 05:14:22 +01:00
meta = with stdenv.lib; {
2014-07-29 22:13:47 +02:00
description = "A tool for monitoring webpages for updates";
homepage = "https://thp.io/2008/urlwatch/";
2016-12-02 05:14:22 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ tv ];
2014-07-29 22:13:47 +02:00
};
}