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}";
version = "2.7";
2016-01-17 20:41:54 +00:00
2017-11-12 10:35:11 +00:00
src = fetchFromGitHub {
owner = "thp";
repo = "urlwatch";
rev = version;
sha256 = "0fx964z73yv08b1lpymmjsigf6929zx9ax5bp34rcf2c5gk11l5m";
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
}