mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
ankiAddons.recolor: init at 3.1
This commit is contained in:
parent
8dc12689a0
commit
e9216c0d4c
2 changed files with 29 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
passfail2 = callPackage ./passfail2 { };
|
||||
|
||||
recolor = callPackage ./recolor { };
|
||||
|
||||
reviewer-refocus-card = callPackage ./reviewer-refocus-card { };
|
||||
|
||||
yomichan-forvo-server = callPackage ./yomichan-forvo-server { };
|
||||
|
|
27
pkgs/games/anki/addons/recolor/default.nix
Normal file
27
pkgs/games/anki/addons/recolor/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
lib,
|
||||
anki-utils,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
anki-utils.buildAnkiAddon (finalAttrs: {
|
||||
pname = "recolor";
|
||||
version = "3.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "AnKing-VIP";
|
||||
repo = "AnkiRecolor";
|
||||
rev = finalAttrs.version;
|
||||
sparseCheckout = [ "src/addon" ];
|
||||
hash = "sha256-28DJq2l9DP8O6OsbNQCZ0pm4S6CQ3Yz0Vfvlj+iQw8Y=";
|
||||
};
|
||||
sourceRoot = "${finalAttrs.src.name}/src/addon";
|
||||
passthru.updateScript = nix-update-script { };
|
||||
meta = {
|
||||
description = "ReColor your Anki desktop to whatever aesthetic you like";
|
||||
homepage = "https://github.com/AnKing-VIP/AnkiRecolor";
|
||||
# No license file, but it can be assumed to be AGPL3 based on
|
||||
# https://ankiweb.net/account/terms.
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ junestepp ];
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue