2014-07-30 00:13:47 +04:00
|
|
|
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2014-11-17 06:14:48 +03:00
|
|
|
name = "urlwatch-1.17";
|
2014-07-30 00:13:47 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://thp.io/2008/urlwatch/${name}.tar.gz";
|
2014-11-17 06:14:48 +03:00
|
|
|
sha256 = "1xl8gi01bfbrg2mchns9cgagpxjjsig1x4kis3isqgfg4k0h8vq0";
|
2014-07-30 00:13:47 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
./convert-to-python3.sh
|
|
|
|
'';
|
|
|
|
|
2014-09-02 21:17:52 +04:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"
|
|
|
|
'';
|
|
|
|
|
2014-07-30 00:13:47 +04: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 ];
|
|
|
|
};
|
|
|
|
}
|