Commit graph

110 commits

Author SHA1 Message Date
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
Shaun Smiley
1cf8b6d6b1
anki-bin: 2.1.51 -> 2.1.52 2022-05-18 22:43:18 +08:00
dnaq
c9f742f7bc anki -> 2.1.51
Since the previous version of anki no longer works on nixos-unstable
due to glibc changes the version was bumped to 2.1.51 which works.
Also adds support for aarch64 on apple silicon

Fixes #167765
2022-05-01 17:54:06 +02:00
Berk Ozkutuk
38fa6d6041 anki: apply patch to replace deprecated method 2022-01-31 22:37:47 +03:00
Atemu
fcd2ff5727 anki-bin: 2.1.48 -> 2.1.49 2021-11-01 10:01:11 +01:00
Atemu
09dfbdf96e Revert "anki-bin: force x11"
This reverts commit 847b317a95.

It is no longer necessary to disable wayland support, anki does that by itself
nowadays and actually works really well when wayland is forced on via
$ANKI_WAYLAND despite upstream claiming it's still buggy.
2021-09-21 09:31:19 +02:00
Atemu
c045c9b0e7 anki-bin: 2.1.47 -> 2.1.48 2021-09-21 09:11:33 +02:00
Atemu
75d580619d anki-bin: 2.1.46 -> 2.1.47 2021-08-29 10:11:47 +02:00
Atemu
e8d2c73f6e anki-bin: passthru sources
It wasn't possible to access the actual source on linux or that of the other OS
2021-08-29 10:08:55 +02:00
Robert Glossop
08c8e87b99 anki-bin: 2.1.44 -> 2.1.46 2021-08-07 20:30:38 -05:00
Felix Buehler
c77f8555c4 anki: deprecate phases 2021-08-03 10:45:48 +02:00
Alex Griffin
013fe00139 anki-bin: install desktop entry and man page 2021-07-20 13:53:09 -05:00
Atemu
e2b86ad1e7 anki-bin: 2.1.43 -> 2.1.44 2021-05-13 17:31:54 +02:00
Atemu
45ad2b290f anki-bin: 2.1.40 -> 2.1.43 2021-04-11 13:50:11 +02:00
Markus Hauck
596bcdaf93 anki-bin: 2.1.38 -> 2.1.40 2021-02-26 11:53:18 +01: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
Atemu
cc7acd49ba anki-bin: 2.1.36 -> 2.1.38 2020-12-28 15:41:56 +01:00
Atemu
847b317a95 anki-bin: force x11
Co-authored-by: Vika <vika@fireburn.ru>
2020-12-24 07:02:43 +01:00
Atemu
0769fe2712 anki-bin: add darwin support 2020-12-24 07:02:43 +01:00
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