2014-07-29 20:13:47 +00:00
|
|
|
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2016-01-17 21:00:39 +00:00
|
|
|
name = "urlwatch-2.0";
|
2014-07-29 20:13:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://thp.io/2008/urlwatch/${name}.tar.gz";
|
2016-01-17 21:00:39 +00:00
|
|
|
sha256 = "0j38qzw4jxw41vnnpi6j851hqpv8d6p1cbni6cv8r2vqf5307s3b";
|
2014-07-29 20:13:47 +00:00
|
|
|
};
|
|
|
|
|
2016-01-17 21:00:39 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
keyring
|
|
|
|
minidb
|
|
|
|
pyyaml
|
|
|
|
];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|