Commit Graph

163 Commits

Author SHA1 Message Date
Atemu
18906f453e anki-bin: init at 2.1.36
Works around https://github.com/NixOS/nixpkgs/issues/78449

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-12-24 07:02:24 +01:00
Benjamin Hipple
0e2d755231 anki: expression cleanup 2020-07-01 04:29:09 +02:00
Benjamin Hipple
ae56f20b71 anki: update download url
The original repo has been transferred on github, so the URL is a redirect to here.
2020-07-01 04:29:09 +02:00
Benjamin Hipple
9a91be049a anki: format to fix indentation
Indentation was off the coding standards, so ran it through nixpkgs-fmt to
sanitize; no manual changes.
2020-06-10 19:46:38 +02:00
Jörg Thalheim
887295fd2d
treewide: remove the-kenny from maintainers
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
2020-05-09 10:28:57 +01:00
worldofpeace
abe3475df8 treewide: remove bash snippets in flags
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
2019-12-15 00:10:41 -05:00
Ivan Kozik
2769d610ac anki: fix startup
Related: #68314

This fixes startup of anki, which currently shows this in a dialog:

Error during startup:
Traceback (most recent call last):
  File "/nix/store/0h395dwc6b80n5xg93p86ywaz6kpz6ck-anki-2.1.15/lib/python3.7/site-packages/aqt/main.py", line 46, in __init__
    self.setupAddons()
  File "/nix/store/0h395dwc6b80n5xg93p86ywaz6kpz6ck-anki-2.1.15/lib/python3.7/site-packages/aqt/main.py", line 657, in setupAddons
    import aqt.addons
  File "/nix/store/0h395dwc6b80n5xg93p86ywaz6kpz6ck-anki-2.1.15/lib/python3.7/site-packages/aqt/addons.py", line 9, in <module>
    import markdown
  File "/nix/store/knq8798kl0xzzr7ii4bchskg1c8mq6pj-python3.7-Markdown-3.1.1/lib/python3.7/site-packages/markdown/__init__.py", line 25, in <module>
    from .core import Markdown, markdown, markdownFromFile
  File "/nix/store/knq8798kl0xzzr7ii4bchskg1c8mq6pj-python3.7-Markdown-3.1.1/lib/python3.7/site-packages/markdown/core.py", line 29, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
2019-09-12 17:21:42 +00:00
Samuel Leathers
4b515cf6ef
Merge remote-tracking branch 'upstream/master' into staging-next
* upstream/master:
  vimPlugins: update (#67823)
  mattermost-desktop: 4.2.0 -> 4.2.3 (#67717)
  lightspark: init at 0.8.1 (#67425)
  anki: 2.1.11 -> 2.1.14 (#67738)
  nixos/{namecoind,bitcoind}: removing the altcoin prefix
  rust-cbindgen: 0.8.7 -> 0.9.0
2019-08-31 06:53:44 -04:00
averelld
560ce2a4a7 anki: 2.1.11 -> 2.1.14 (#67738)
* anki: 2.1.11 -> 2.1.14

* anki: 2.1.14 -> 2.1.15
2019-08-31 11:40:35 +02:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
Jan Malakhovski
39028ee8a7 anki: simplify the expression, elide superfluous wappers
As suggested by @worldofpeace.
2019-08-18 17:44:25 +00:00
Jan Malakhovski
1a11eb34a1 anki: add myself as a maintainer
(Adding to the front of the list because it was I who added this expression to
nixpkgs in e00c03101f 7 years ago. :])
2019-08-17 20:31:33 +00:00
Jan Malakhovski
2326319b38 anki: use wrapQtAppsHook from pyqtwebengine 2019-08-17 20:31:33 +00:00
volth
c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
Frederik Rietdijk
33a876e619 anki: fix with pyqtwebengine 2019-08-03 16:04:34 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Michael Hoang
7bdbeb1f25 anki: 2.1.9 -> 2.1.11 (#57852) 2019-03-18 20:04:42 +01:00
Raphael Borun Das Gupta
5b4f59a3fc anki: 2.1.8 -> 2.1.9 2019-02-23 13:13:09 +01:00
Profpatsch
14572e2a8c anki: add manual output
The Anki manual is distibuted in a separate repository and has to be
patched a bit to work offline.
The in-program manual now points to our distributed offline version.
2019-01-13 13:06:23 +01:00
Dmitry Kalinkin
d2cfddd3b5
anki: fix build on darwin
Runtime doesn't work:

ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

This is probably because qtwebengine is broken on darwin, but doesn't
fail the build (#40149)
2019-01-05 19:13:10 -05:00
Lorenzo Manacorda
90c68f650d anki: 2.1.7 -> 2.1.8 2019-01-06 00:09:10 +01:00
Lorenzo
8065fe8b8e anki: 2.1.6-beta2 -> 2.1.7 (#53154) 2019-01-02 09:58:53 +01:00
Alexey Lebedeff
19bffeee70 anki: Use fetchpatch for python compatibilty patch 2018-12-01 11:05:28 +01:00
Alexey Lebedeff
8d61b9d079 anki: 2.1.6-beta1 -> 2.1.6-beta2, fix python 3.7
With recent switch to python 3.7 this was no longer building.

Upstream PR with the same patch: https://github.com/dae/anki/pull/266
2018-11-30 10:55:09 +01:00
Piotr Halama
a30e30432d anki: 2.0.52 -> 2.1.6-beta1 2018-11-15 23:17:31 +01:00
Jan Malakhovski
141eb8b843 anki: update meta 2018-10-19 21:59:47 +00:00
Jan Malakhovski
0779d71915 anki: use send2trash from nixpkgs 2018-10-19 18:20:35 +00:00
R. RyanTM
985aea6b55 anki: 2.0.51 -> 2.0.52 (#41582)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/anki/versions.

These checks were done:

- built on NixOS
- /nix/store/2dqw72sffcynzzgcfk0k9mh7jn8sw0kw-anki-2.0.52/bin/anki passed the binary check.
- /nix/store/2dqw72sffcynzzgcfk0k9mh7jn8sw0kw-anki-2.0.52/bin/..anki-wrapped-wrapped passed the binary check.
- /nix/store/2dqw72sffcynzzgcfk0k9mh7jn8sw0kw-anki-2.0.52/bin/.anki-wrapped passed the binary check.
- 3 of 3 passed binary check by having a zero exit code.
- 3 of 3 passed binary check by having the new version present in output.
- found 2.0.52 with grep in /nix/store/2dqw72sffcynzzgcfk0k9mh7jn8sw0kw-anki-2.0.52
- directory tree listing: https://gist.github.com/1a53026ee3eea78708113c1b6e9d857f
- du listing: https://gist.github.com/c8dcabda5b46155a959b86843ee24ddd
2018-06-10 10:22:47 +02:00
R. RyanTM
11012b3aca anki: 2.0.50 -> 2.0.51
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/anki/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/anki -h` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/anki --help` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/anki --version` and found version 2.0.51
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/..anki-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/..anki-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/..anki-wrapped-wrapped --version` and found version 2.0.51
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/.anki-wrapped -h` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/.anki-wrapped --help` got 0 exit code
- ran `/nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51/bin/.anki-wrapped --version` and found version 2.0.51
- found 2.0.51 with grep in /nix/store/pc80xsrc6hc3xw5fibqhcd3xy2z6krj8-anki-2.0.51
- directory tree listing: https://gist.github.com/47b6928b65d620f470e7c7f117898265
2018-03-31 16:58:12 -07:00
Matthew Bauer
d16f9de470 anki: 2.0.47 -> 2.0.50
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/..anki-wrapped-wrapped -h` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/..anki-wrapped-wrapped --help` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/..anki-wrapped-wrapped --version` and found version 2.0.50
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/anki -h` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/anki --help` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/anki --version` and found version 2.0.50
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/.anki-wrapped -h` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/.anki-wrapped --help` got 0 exit code
- ran `/nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50/bin/.anki-wrapped --version` and found version 2.0.50
- found 2.0.50 with grep in /nix/store/yxxxxgsdxr65bgnv1xn0h9pdivpm2bvx-anki-2.0.50
2018-03-17 03:52:36 -05:00
Orivej Desh
a2bebdd6ce anki: fix package name 2017-11-13 13:19:36 +00:00
adisbladis
d3cb4de970 anki: Enable tests (#31582)
* anki: Enable tests

Convert package to use buildPythonApplication instead of mkDerivation

* anki: ignore tests via pytest arguments
2017-11-13 13:13:17 +00:00
adisbladis
c28911e0f9
anki: Switch dependency to beautifulsoup-3
The current upstream development version is using 4 but the release
version is still using 3.
2017-11-13 09:17:07 +08:00
aszlig
33b0b5ed1d
anki: Fix hash of the source tarball
Searching the web for the base-16 encoded hash of the one we have in the
Nix expression didn't give any results and I also couldn't find the
older tarball anywhere (even the mirrors I've checked don't have it).

So checking the updated hash I've found that other distros use this, so
I'd bet it's safe to do this.

I've tested building the package but I didn't do any runtime test.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @the-kenny
2017-11-08 21:12:22 +01:00
adisbladis
e87ffaefc6
anki: Depend on pythonPackages.beautifulsoup4 instead of pythonPackages.beautifulsoup 2017-10-30 11:55:54 +08:00
Gabriel Ebner
357b93e1b1 anki: 2.0.36 -> 2.0.46 2017-08-06 15:33:50 +02:00
Frederik Rietdijk
686c52d897 anki: use python2 2016-10-18 23:16:09 +02:00
Peter Simons
2eeab5e3b2 anki: update to version 2.0.36 2016-10-07 19:10:40 +02:00
Micxjo Funkcio
a811902370
anki: 2.0.33 -> 2.0.35 2016-04-05 19:11:36 -07:00
Peter Simons
fdcd875b0e anki: update sqlalchemy build input and clean up the expression
SQLAlchemy-0.9.9 was broken recently, probably because of an sqlite
update. So we just use the latest version.

The build expression used to take the entire package set as an argument,
which is poor style because it hides the true dependencies from the
interface. I've change the code to expect the appropriate individual
packages instead.
2016-03-15 10:59:12 +01:00
Robert Helgesson
ec2a1bcb86 anki: disable version check 2016-01-05 21:44:54 +01:00
Robert Helgesson
5558dc828c anki: major refactor
This refactoring changes a number of things:

 - use system copies of Python libraries BeautifulSoup, and HTTPLIB2,

 - custom install to avoid installation of unnecessary files and poor
   directory structure, and

 - add patch for sorting out file paths, in particular this fixes
   localization.
2015-12-27 16:18:45 +01:00
Profpatsch
de12417ec7 anki: enable playing sound files 2015-12-22 20:34:00 +01:00
Peter Simons
8bdc73caab anki: update to version 2.0.33 2015-11-24 12:00:30 +01:00
Luca Bruno
768daf7691 anki: fix build (ZHF) 2015-07-21 10:51:15 +02:00
William A. Kennington III
b07929b0a3 Use libpulseaudio instead of pulseaudio 2015-05-29 14:32:56 -07:00
Peter Simons
0c32585e67 anki: polish meta section 2015-05-11 23:30:50 +02:00
Peter Simons
f5d8fb8409 anki: fix Emacs syntax highlighting 2015-05-11 23:30:15 +02:00
Peter Simons
c6ca7a0be1 anki: update to SQLAlchemy 9 2015-05-11 23:29:19 +02:00
Nixpkgs Monitor
ad2b2a7997 anki: update from 2.0.31 to 2.0.32 2015-03-28 11:14:55 +01:00
Bjørn Forsman
b47e5b6db3 anki: update to 2.0.31
Build and run tested.
2014-10-23 13:17:28 +02:00
Bjørn Forsman
47617be9f8 anki: add alternative "archive/" download url
Anki developers move old (non-latest) releases to an "archive/"
subdirectory. So try both with and without "archive/" when downloading
the source.
2014-10-23 13:15:39 +02:00
Mateusz Kowalczyk
da85164bc4 anki: update from 2.0.28 to 2.0.29
cc @the-kenny
2014-09-30 11:19:53 +01:00
Moritz Ulrich
be560b710e anki: update from 2.0.26 to 2.0.28 2014-08-04 15:53:05 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Moritz Ulrich
81a6fcd847 anki: update from 2.0.22 to 2.0.26 2014-04-30 23:52:55 +02:00
Moritz Ulrich
bb66a3ff6c Anki: Update to 2.0.22. 2014-02-08 19:19:50 +01:00
Nixpkgs Monitor
1937d84203 anki: update from 2.0.18 to 2.0.20
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-13 22:53:35 +01:00
Moritz Ulrich
7bd64d6c1f anki: update from 2.0.12 to 2.0.18 2013-12-09 00:24:10 +00:00
Eelco Dolstra
2147a07938 Fix a bunch of Hydra evaluation errors 2013-10-07 17:36:47 +02:00
Domen Kožar
a774212684 anki: 2.0.3 -> 2.0.12 2013-09-22 19:23:11 +02:00
Domen Kozar
e58521d5dc anki: set platforms 2013-03-31 20:56:18 +02:00
Jan Malakhovski
e00c03101f anki: add version 2.0.3 2013-01-04 03:48:47 +00:00