nixpkgs/pkgs/tools/networking/urlwatch/default.nix

28 lines
668 B
Nix
Raw Normal View History

2014-07-29 22:13:47 +02:00
{ stdenv, fetchurl, python3Packages }:
python3Packages.buildPythonApplication rec {
2016-04-15 22:23:01 +02:00
name = "urlwatch-2.1";
2014-07-29 22:13:47 +02:00
src = fetchurl {
url = "http://thp.io/2008/urlwatch/${name}.tar.gz";
2016-04-15 22:23:01 +02:00
sha256 = "0xn435cml9wjwk39117p1diqmvw3jbmv9ccr7230iaf7z59vf9v6";
2014-07-29 22:13:47 +02:00
};
2016-01-17 22:00:39 +01:00
propagatedBuildInputs = with python3Packages; [
minidb
pyyaml
2016-04-15 22:23:01 +02:00
requests2
2016-01-17 22:00:39 +01:00
];
2014-07-29 22:13:47 +02:00
postFixup = ''
wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"
'';
2014-07-29 22:13:47 +02: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 ];
};
}