diff options
author | Lorenzo <lorenzo@mailbox.org> | 2019-01-02 09:58:53 +0100 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2019-01-02 09:58:53 +0100 |
commit | 8065fe8b8ee15df9aa9d33f76a56f91c8c6ba246 (patch) | |
tree | 61b123ea495c632984c3ee758aa849be0ad7f8c6 /pkgs/games/anki | |
parent | d8e907ba18dfd49bb3fc0afe16bff7bd08ad8b0c (diff) |
anki: 2.1.6-beta2 -> 2.1.7 (#53154)
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r-- | pkgs/games/anki/default.nix | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 3f837886116c..b662b5b8e3bd 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -26,17 +26,17 @@ }: buildPythonApplication rec { - version = "2.1.6-beta2"; + version = "2.1.7"; name = "anki-${version}"; src = fetchurl { urls = [ - "https://apps.ankiweb.net/downloads/beta/${name}-source.tgz" + "https://apps.ankiweb.net/downloads/current/${name}-source.tgz" # "https://apps.ankiweb.net/downloads/current/${name}-source.tgz" # "http://ankisrs.net/download/mirror/${name}.tgz" # "http://ankisrs.net/download/mirror/archive/${name}.tgz" ]; - sha256 = "0h71s1j1269x0b8481z8xf019caqglcjs32xlpzk72087ps169fa"; + sha256 = "0cvlimfxb7kficlf20hg7a345pahvr093b7yqvssww15h4y4va9d"; }; propagatedBuildInputs = [ pyqt5 sqlalchemy @@ -54,16 +54,6 @@ buildPythonApplication rec { patches = [ # Disable updated version check. ./no-version-check.patch - - # This is needed to fix python 3.7 compatibilty, where the - # behaviour of `re.escape()` was changed in a way that it no - # longer escapes `%`. This patch detects this difference at - # runtime and makes anki work with any python version. - # Upstream PR: https://github.com/dae/anki/pull/266 - (fetchpatch { - url = "https://github.com/dae/anki/commit/3d69aa9ce454a151ba75deafd7de117af2c7307d.patch"; - sha256 = "0kf9gajhy0wcajp24xfia71z6gn1mc4vl37svvq4sqbhj3gigd0h"; - }) ]; buildPhase = '' |