urlwatch: 1.18 -> 2.0

This commit is contained in:
tv 2016-01-17 22:00:39 +01:00
parent ceaec1a108
commit 180655290d

View File

@ -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"