1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

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"