Merge pull request #12445 from 4z3/urlwatch

urlwatch: 1.18 -> 2.0 incl. its new dependency minidb-2.0.1
This commit is contained in:
Robin Gloster 2016-01-17 22:42:50 +01:00
commit 1cdc7c556a
2 changed files with 23 additions and 5 deletions

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"

View File

@ -3542,6 +3542,22 @@ in modules // {
};
};
minidb = buildPythonPackage rec {
name = "minidb-2.0.1";
src = pkgs.fetchurl {
url = "https://thp.io/2010/minidb/${name}.tar.gz";
sha256 = "1x958zr9jc26vaqij451qb9m2l7apcpz34ir9fwfjg4fwv24z2dy";
};
meta = {
description = "A simple SQLite3-based store for Python objects";
homepage = https://thp.io/2010/minidb/;
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.tv ];
};
};
mixpanel = buildPythonPackage rec {
version = "4.0.2";
name = "mixpanel-${version}";