2016-01-17 20:41:54 +00:00
|
|
|
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
2016-07-13 08:06:22 +00:00
|
|
|
name = "urlwatch-2.5";
|
2016-01-17 20:41:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://thp.io/2008/urlwatch/${name}.tar.gz";
|
2016-07-13 08:06:22 +00:00
|
|
|
sha256 = "0qirpymdmpsx0klmhbx3icmiwpm6fx4wjma646gl9m90pifs8430";
|
2016-01-17 20:41:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
keyring
|
2016-02-05 14:11:22 +00:00
|
|
|
minidb
|
|
|
|
pyyaml
|
|
|
|
requests2
|
2016-01-17 20:41:54 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"
|
|
|
|
'';
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
2016-02-05 14:11:22 +00:00
|
|
|
}
|