3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/urlwatch/default.nix

26 lines
626 B
Nix
Raw Normal View History

2014-07-29 21:13:47 +01:00
{ stdenv, fetchurl, python3Packages }:
python3Packages.buildPythonPackage rec {
2015-02-28 07:47:36 +00:00
name = "urlwatch-1.18";
2014-07-29 21:13:47 +01:00
src = fetchurl {
url = "http://thp.io/2008/urlwatch/${name}.tar.gz";
2015-02-28 07:47:36 +00:00
sha256 = "090qfgx249ks7103sap6w47f8302ix2k46wxhfssxwsqcqdl25vb";
2014-07-29 21:13:47 +01:00
};
patchPhase = ''
./convert-to-python3.sh
'';
postFixup = ''
wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"
'';
2014-07-29 21:13:47 +01: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 ];
};
}