Commit Graph

133 Commits

Author SHA1 Message Date
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
Mahmoud Ayman
6465bb8af2
maintainers: remove atemu 2023-11-10 17:27:13 +02:00
Mahmoud Ayman
41589dfbac
anki-bin: 23.10 -> 23.10.1 2023-11-10 14:24:30 +02:00
Mahmoud Ayman
3c381e85c7
anki-bin: 2.1.66 -> 23.10 2023-11-01 15:37:29 +02: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
Atemu
c680330b76
Merge pull request #229480 from euank/anki-2.1.62
anki: 2.1.61 -> 2.1.65
2023-08-29 16:38:55 +02: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
Mahmoud Ayman
05727304f8
anki-bin: 2.1.65 -> 2.1.66 2023-08-29 11:34:34 +03:00
Theodore Ni
6a89fda4de
anki: remove pip from anki-build-python 2023-08-18 16:37:20 -07:00
Evan Danaher
de88bd94d6 anki-bin: pass command-line arguments through anki-wrapper 2023-08-09 13:08:46 -04: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
Mahmoud Ayman
22d66165a9
anki-bin: 2.1.64 -> 2.1.65 2023-06-07 11:37:23 +03:00
Mahmoud Ayman
500c214b93
anki-bin: 2.1.63 -> 2.1.64 2023-05-24 11:13:22 +03:00
Mahmoud Ayman
4f57c4c1f9
anki-bin: 2.1.62 -> 2.1.63 2023-05-15 19:48:47 +03: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
Mahmoud Ayman
4a1e9009ad
anki-bin: add new dependencies 2023-05-06 17:26:19 +03:00
Mahmoud Ayman
948cf105b9
anki-bin: 2.1.61 -> 2.1.62 2023-05-01 09:22:05 +03:00
Weijia Wang
ff95913192 anki: add missing darwin components 2023-04-20 14:16:48 +03:00
Weijia Wang
1eea8d509f
Merge pull request #226426 from sbruder/anki-wayland
anki: allow using wayland on linux
2023-04-17 00:00:28 +03:00
Simon Bruder
f9910b39bd
anki: allow using wayland on linux 2023-04-16 10:46:15 +02:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Euan Kemp
59c2e8e2b5 anki: 2.1.60 -> 2.1.61
Rote update
2023-04-12 22:29:31 +09:00
Sandro
0754f14961
Merge pull request #221229 from euank/anki-native 2023-04-11 23:43:41 +02:00
Atemu
7a1de48994 anki-bin: use pname + version instead of hacky override 2023-04-11 13:27:29 +02: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
Norbert Melzer
28bd70b571
Merge pull request #224124 from chz101/submit/ankibin 2023-04-04 08:26:59 +02:00
Charles Zhang
052d589347
Update pkgs/games/anki/bin.nix
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
2023-03-31 14:21:40 -06:00
Charles Zhang
5f2678d7d3
Update pkgs/games/anki/bin.nix
Co-authored-by: Norbert Melzer <timmelzer@gmail.com>
2023-03-31 14:21:30 -06:00
Chuck Z
d857988d21 anki-bin: add commandLineArgs to package arguments
anki-bin is built with buildFHSUserEnv on Linux, which makes using overrides
  to pass in command line arguments impossible. This commit adds the
  commandLineArgs argument to the package inputs and appends the string
  to the runscript, allowing pkgs.override to add flags to pass to anki
  when the derivation is built.

  This is useful when anki's desired directory isn't the default, allowing
  users to specify the directory in their overlays instead of adding a
  flag everytime they call the program.
2023-03-31 13:19:53 -06:00
Mahmoud Ayman
b86bb0e5a2
anki-bin: 2.1.60 -> 2.1.61 2023-03-31 14:31:34 +02: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
Dennis Gosnell
0467f6d76f
anki-bin: set correct name and version for derivation
anki-bin is built with buildFHSUserEnv on Linux, which doesn't set a
version for the resulting derivation.  This commit overrides the
resulting derivation to have a version set correctly.

This is important for end-users to be able to easily tell what
version of Anki they will get when they install `anki-bin`.  It is
normally very important to use the correct version of Anki.
2023-02-25 14:00:05 +09:00
Mahmoud Ayman
ad6c8e2a18
anki-bin: add mahmoudk1000 to the maintainers 2023-02-22 18:09:03 +02:00
Mahmoud Ayman
b021cf91ff
anki-bin: 2.1.58 -> 2.1.60 2023-02-22 13:48:49 +02:00
Mahmoud Ayman
06374bf2a2
anki-bin: 2.1.57 -> 2.1.58 2023-02-18 13:27:33 +02:00
Mahmoud Ayman
5381c53ab1
anki-bin: 2.1.56 -> 2.1.57 2023-02-07 09:15:38 +02: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
Mahmoud Ayman
87be5b0e9b
anki-bin: 2.1.55 -> 2.1.56 2023-01-09 18:55:45 +02:00
EsAu79p
9383b34f04 anki-bin: 2.1.54 -> 2.1.55 2023-01-04 12:50:34 +01: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
Izumi Raine
cc18e3ce0e anki-bin: 2.1.52 -> 2.1.54 2022-07-21 18:33:59 +02:00