Commit Graph

104 Commits

Author SHA1 Message Date
Alyssa Ross
d4a72a3935 lib.platforms.mesaPlatforms: remove
Mesa is a package like any other.  There's no reason for it to be a
special case with its platforms listed in lib, because if other
packages want to refer to mesa's platforms, they can access the
platforms from the package meta like they would for any other package.
2024-08-31 10:28:31 +02:00
Dominique Martinet
25ab2f0fe7 anki: skip flaky tests 2024-08-13 15:07:09 +09:00
Dominique Martinet
b3fe728bdc anki: format with nixfmt-rfc-style 2024-08-10 13:44:59 +09:00
Dominique Martinet
f1389c6db1 anki: fix for rust 1.80
rust 1.80 requires updating the 'time' crate to at least 0.3.35.

That update is already in anki's master branch but it isn't anywhere
close to time for a new release, so just bump time and only time
manually for our tree.

(This also fixes anki-sync-server which usese the same sources/Cargo
deps, when removing the patch during the next update it will need to be
removed from both files as written in comment)

Link: https://github.com/NixOS/nixpkgs/issues/332957
2024-08-10 13:44:59 +09:00
Dominique Martinet
efcc0e27bb anki: 24.06.2 -> 24.06.3
This doesn't have anything too interesting that I can see but might as well
update to latest release if we're going to rebuild
2024-08-10 13:44:59 +09:00
tomberek
780740f2a1
Merge pull request #321290 from euank/anki-update2
anki: 24.04 -> 24.06.2
2024-08-02 02:53:21 -04:00
Peder Bergebakken Sundt
3ded327771 anki: disable test_create_open
Fails in nix-portable with bwrap, where it is able to attach `/attachroot.anki2` when it shouldn't
2024-07-10 17:50:01 +02:00
Euan Kemp
e68ac7fa2a pkgs/anki: 24.04 -> 24.06.2
Rote update, manually verified the output anki binary works correctly
for my decks
2024-06-21 01:20:01 +09:00
Thiago Kenji Okada
b58121a511
Merge pull request #302013 from slotThe/anki-24.04
anki: 23.12.1 -> 24.04
2024-04-23 10:28:51 +01:00
Sandro Jäckel
fb0d661081
treewide: replace prefetch-yarn-deps with fixup-yarn-lock where necessary 2024-04-17 13:34:05 -04:00
Tony Zorman
cd384ccef3 anki: 23.12.1 -> 24.04 2024-04-11 20:12:16 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Pavel Sobolev
d255738da5
anki: remove paveloom from maintainers 2024-01-13 15:49:21 +00:00
Pavel Sobolev
87ecf9d62f
anki: 23.12 -> 23.12.1 2023-12-28 17:24:22 +03:00
Pavel Sobolev
5c3cca0e26
anki: 23.10.1 -> 23.12 2023-12-25 18:57:20 +03:00
Euan Kemp
a1c4054f73 pkgs/anki: add qtsvg to inputs to fix anki theme
This fixes #248357

It turns out the checkmark and so on are svg images, and without qtsvg,
they don't render right, making the preferences panel appear broken.

This seems to fix it for me!

Shoutout to antecrescent for the fix! https://github.com/NixOS/nixpkgs/issues/248357#issuecomment-1850020525
2023-12-12 00:01:02 +09:00
Dominique Martinet
f0f6c77781 nixos/tests/anki-sync-server: add anki sync test
Start anki-sync-server service and drive anki manually through its
python lib to test sync.
The anki python part isn't a stable API and might require freqent
rework, let's see if it holds up...
2023-11-30 17:25:27 +01:00
Dominique Martinet
c305510073 anki-sync-server: init at 2.1.66
anki-sync-server will be used in new ankisyncd module.

anki itself was slightly modified to add its cargoLock as passthru so we
can use it for anki-sync-server as it's built from the same sources.

Link: https://github.com/NixOS/nixpkgs/pull/257692
Co-authored-by: Pavel Sobolev <paveloom@riseup.net>
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-11-30 05:06:49 +01:00
Weijia Wang
27ed44cff1
Merge pull request #264796 from paveloom/anki
anki: 2.1.66 -> 23.10.1
2023-11-30 03:25:16 +01:00
Pavel Sobolev
97933ba142
anki: 2.1.66 -> 23.10.1 2023-11-29 10:29:15 +03:00
Felix Buehler
9d1029f253 anki: migrate to prefetch-yarn-deps 2023-11-25 12:31:32 +01:00
Pavel Sobolev
5ccdb37a8b
anki: 2.1.65 -> 2.1.66 2023-09-02 19:19:38 +03:00
Pavel Sobolev
aa2f2dd7df
anki: refactor 2023-09-02 19:19:02 +03:00
Euan Kemp
f129e294b3 anki: mark as broken on darwin 2023-08-29 22:16:34 +09:00
Euan Kemp
9c577da750 anki: 2.1.61 -> 2.1.65 2023-08-29 22:15:47 +09:00
Theodore Ni
6a89fda4de
anki: remove pip from anki-build-python 2023-08-18 16:37:20 -07:00
Profpatsch
c97ad2763a rm Profpatsch from stuff without interest/capacity of maintaining
For tree-sitter I’m still interested, but don’t want to be first in
the list :)
2023-07-07 12:53:42 +02:00
Alyssa Ross
5e06b3cb19 treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
2023-05-12 15:31:21 +00:00
Weijia Wang
ff95913192 anki: add missing darwin components 2023-04-20 14:16:48 +03:00
Simon Bruder
f9910b39bd
anki: allow using wayland on linux 2023-04-16 10:46:15 +02:00
Euan Kemp
59c2e8e2b5 anki: 2.1.60 -> 2.1.61
Rote update
2023-04-12 22:29:31 +09:00
Euan Kemp
9ce0e05e09 anki: remove an unused symlink
Thanks to Lucio for pointing this one out, appreciated
2023-04-10 13:13:16 +09:00
Euan Kemp
903f78ebde anki: 2.1.15 -> 2.1.60
This redoes all the packaging for their new build-system.

It feels a bit fragile, but in practice it works.

Basically, we build most of it in nix, write some wrapper scripts to
mock out stuff we just did in nix, and then call thier build system to
make a wheel
2023-04-09 20:00:43 +09:00
Martin Weinelt
4e57d4321a
anki: Add mock to check inputs
Probably got propagated from somewhere and doesn't anymore, which caused
the breakage.
2023-03-12 19:13:10 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Martin Weinelt
d2713c3294
anki: build with format other 2022-09-25 23:49:37 +02:00
Berk Ozkutuk
38fa6d6041 anki: apply patch to replace deprecated method 2022-01-31 22:37:47 +03:00
Felix Buehler
c77f8555c4 anki: deprecate phases 2021-08-03 10:45:48 +02:00
Emery Hemingway
04585f097f anki: replace mplayer with mpv
Mplayer is not available for aarch64.
2021-01-18 09:44:00 +01:00
Sandro Jäckel
c256508542
anki: Disable tests on darwin 2021-01-10 13:18:37 +01:00
Michael Hoang
31f9051cf6 treewide: stop maintaining most packages 2021-01-06 17:06:03 +11: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