diff options
Diffstat (limited to 'instances')
| -rw-r--r-- | instances/pocketbook.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/instances/pocketbook.nix b/instances/pocketbook.nix index 9d4af86..447292a 100644 --- a/instances/pocketbook.nix +++ b/instances/pocketbook.nix @@ -8,11 +8,17 @@ with builtins // lib; let pocketbooksync = pkgs.fetchzip { url = "https://github.com/ckilb/pocketbooksync.koplugin/releases/download/v1.0.2/pocketbooksync.koplugin-v1.0.2.zip"; + hash = "sha256-Up6tYirqiWLsTpUQhbxf9+rvC3SqBoVAck1m2qo2AB4="; + }; + coverprogresspocketbook = pkgs.fetchzip { + url = "https://github.com/apastuszak/coverprogresspocketbook.koplugin/releases/download/v1.21/coverprogresspocketbook.koplugin.zip"; + hash = "sha256-OuAwBCY2B6E9vPwqPWNPXllqyralAlQOSvCLRjfcwAI="; }; wifi = pkgs.fetchFromGitHub { owner = "Lomig"; repo = "koreader-pocketbook-wifi"; rev = "1278fe9"; + hash = "sha256-foQ6tqrSWuRCd97cc1jr+Md7rVQH9pkfgGM3V2y0a5k="; }; in @@ -20,26 +26,21 @@ in koreader.flavor = "pocketbook"; plugins = { - pocketbooksync = "${pocketbooksync}/pocketbooksync.koplugin"; + inherit pocketbooksync; }; - # patches = { - # "2-bookorbit-wifi-cycle.lua" = "${wifi}/patches/2-bookorbit-wifi-cycle.lua"; - # "2-menu-footer-wifi-icon.lua" = "${wifi}/patches/2-menu-footer-wifi-icon.lua"; - # "2-pocketbook-net-diag.lua" = "${wifi}/patches/2-pocketbook-net-diag.lua"; - # "2-pocketbook-wifi-off.lua" = "${wifi}/pathces/2-pocketbook-wifi-off.lua"; - # "2-pocketbook-wifi-silent-connect.lua" = "${wifi}/patches/2-pocketbook-wifi-silent-connect.lua"; - # }; patchDirectories = [ "${wifi}/patches" ]; dictionaries = { - Wiktionary = pkgs.fetchtar { + Wiktionary = fetchTarball { url = "https://github.com/xxyzz/wiktionary_stardict/releases/download/20261020/en-en.tar.zst"; + sha256 = "sha256-dA/7ARC1S9drNUmwHdvYflj1q/k48TQlu3HfEQbVQJc="; }; GNU = pkgs.fetchzip { url = "http://tovotu.de/data/stardict/gcide.zip"; + hash = "sha256-/HKqAaM5KCj8jYoYLl+1a4qQb3xK4DUB9rl/Xe9Sb9Y="; }; }; |
