2014-07-29 20:13:47 +00:00
|
|
|
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2016-07-09 10:16:30 +00:00
|
|
|
name = "urlwatch-2.2";
|
2014-07-29 20:13:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://thp.io/2008/urlwatch/${name}.tar.gz";
|
2016-07-09 10:16:30 +00:00
|
|
|
sha256 = "0s9056mm1hkj5gpzsb5bz6fwxk0nm73i0dhnqwa1bfddjnvpl9d3";
|
2014-07-29 20:13:47 +00:00
|
|
|
};
|
|
|
|
|
2016-07-09 10:16:30 +00:00
|
|
|
patches = [
|
|
|
|
./setup.patch
|
|
|
|
];
|
|
|
|
|
2016-01-17 21:00:39 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2016-07-09 10:16:30 +00:00
|
|
|
keyring
|
2016-01-17 21:00:39 +00:00
|
|
|
minidb
|
|
|
|
pyyaml
|
2016-04-15 20:23:01 +00:00
|
|
|
requests2
|
2016-01-17 21:00:39 +00:00
|
|
|
];
|
2014-07-29 20:13:47 +00:00
|
|
|
|
2014-09-02 17:17:52 +00:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"
|
|
|
|
'';
|
|
|
|
|
2014-07-29 20:13:47 +00:00
|
|
|
meta = {
|
|
|
|
description = "A tool for monitoring webpages for updates";
|
|
|
|
homepage = https://thp.io/2008/urlwatch/;
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.tv ];
|
|
|
|
};
|
|
|
|
}
|