From 180655290da0fc565df216b1869e558e8ea2096a Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 17 Jan 2016 22:00:39 +0100 Subject: [PATCH] urlwatch: 1.18 -> 2.0 --- pkgs/tools/networking/urlwatch/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/urlwatch/default.nix b/pkgs/tools/networking/urlwatch/default.nix index bd580d28320b..ef420961a1f3 100644 --- a/pkgs/tools/networking/urlwatch/default.nix +++ b/pkgs/tools/networking/urlwatch/default.nix @@ -1,16 +1,18 @@ { stdenv, fetchurl, python3Packages }: python3Packages.buildPythonPackage rec { - name = "urlwatch-1.18"; + name = "urlwatch-2.0"; src = fetchurl { url = "http://thp.io/2008/urlwatch/${name}.tar.gz"; - sha256 = "090qfgx249ks7103sap6w47f8302ix2k46wxhfssxwsqcqdl25vb"; + sha256 = "0j38qzw4jxw41vnnpi6j851hqpv8d6p1cbni6cv8r2vqf5307s3b"; }; - patchPhase = '' - ./convert-to-python3.sh - ''; + propagatedBuildInputs = with python3Packages; [ + keyring + minidb + pyyaml + ]; postFixup = '' wrapProgram "$out/bin/urlwatch" --prefix "PYTHONPATH" : "$PYTHONPATH"