stockholm/krebs/5pkgs/simple/urlwatch/default.nix

30 lines
661 B
Nix
Raw Normal View History

2017-11-12 10:35:11 +00:00
{ stdenv, fetchFromGitHub, python3Packages }:
2016-01-17 20:41:54 +00:00
2017-11-12 10:35:11 +00:00
python3Packages.buildPythonApplication rec {
name = "urlwatch-${version}";
2018-02-28 14:11:43 +00:00
version = "2.8";
2016-01-17 20:41:54 +00:00
2017-11-12 10:35:11 +00:00
src = fetchFromGitHub {
owner = "thp";
repo = "urlwatch";
rev = version;
2018-02-28 14:11:43 +00:00
sha256 = "1nja7n6pc45azd3l1xyvav89855lvcgwabrvf34rps81dbl8cnl4";
2016-01-17 20:41:54 +00:00
};
propagatedBuildInputs = with python3Packages; [
2017-11-12 10:35:11 +00:00
appdirs
2016-01-17 20:41:54 +00:00
keyring
2016-02-05 14:11:22 +00:00
minidb
2017-06-18 19:48:21 +00:00
pycodestyle
2016-02-05 14:11:22 +00:00
pyyaml
2017-08-26 18:03:57 +00:00
requests
2016-01-17 20:41:54 +00:00
];
2017-11-12 10:35:11 +00:00
meta = with stdenv.lib; {
2016-01-17 20:41:54 +00:00
description = "A tool for monitoring webpages for updates";
homepage = https://thp.io/2008/urlwatch/;
2017-11-12 10:35:11 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ tv ];
2016-01-17 20:41:54 +00:00
};
2016-02-05 14:11:22 +00:00
}