diff options
author | makefu <github@syntax-fehler.de> | 2015-12-29 21:21:04 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-29 21:21:04 +0100 |
commit | 81badfd47ede4cf3860e7006c13586340415ade5 (patch) | |
tree | e7eb70fa37aa8fa856cf121a131ab9af2ce307c8 /makefu | |
parent | 4b6cd401a85cdc7aab150208cc5310645a7e59e2 (diff) |
m 2 urlwatch: use py2 instead of py2k urlwatch
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/2configs/urlwatch.nix | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/makefu/2configs/urlwatch.nix b/makefu/2configs/urlwatch.nix index e4f639d5b..a83279ba2 100644 --- a/makefu/2configs/urlwatch.nix +++ b/makefu/2configs/urlwatch.nix @@ -1,6 +1,22 @@ -{ config, ... }: +{ config, lib, ... }: { + nixpkgs.config.packageOverrides = pkgs: { + urlwatch = with pkgs.pythonPackages; buildPythonPackage rec { + name = "urlwatch-1.18"; + + propagatedBuildInputs = [ futures ]; + + src = pkgs.fetchurl { + url = "http://thp.io/2008/urlwatch/${name}.tar.gz"; + sha256 = "090qfgx249ks7103sap6w47f8302ix2k46wxhfssxwsqcqdl25vb"; + }; + + postFixup = '' + wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH" + ''; + }; + }; krebs.urlwatch = { enable = true; mailto = config.krebs.users.makefu.mail; @@ -12,7 +28,7 @@ http://git.sysphere.org/vicious/log/?qt=grep&q=Next+release https://pypi.python.org/simple/bepasty/ https://pypi.python.org/simple/xstatic/ - http://cvs2svn.tigris.org/svn/cvs2svn/tags/ + http://guest:derpi@cvs2svn.tigris.org/svn/cvs2svn/tags/ ]; }; } |