mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
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:
commit
1cdc7c556a
@ -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"
|
||||
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user