diff options
author | tv <tv@krebsco.de> | 2022-01-11 21:38:08 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-11 21:39:47 +0100 |
commit | 43a3f5f69d9515527d484c8b417de625970e4fd2 (patch) | |
tree | c3825a1bb1711aec71a8f99f9980bc0b4781f64f /tv/5pkgs/simple/stardict/default.nix | |
parent | 987dc311b437b0f82afa05f8f58a6b64fc9f2666 (diff) |
tv stardict: add swahili
Diffstat (limited to 'tv/5pkgs/simple/stardict/default.nix')
-rw-r--r-- | tv/5pkgs/simple/stardict/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tv/5pkgs/simple/stardict/default.nix b/tv/5pkgs/simple/stardict/default.nix index e835caedb..2135cc056 100644 --- a/tv/5pkgs/simple/stardict/default.nix +++ b/tv/5pkgs/simple/stardict/default.nix @@ -112,6 +112,15 @@ let stripRoot = false; }; }; + + swahiliDictionaries = { + vickio = pkgs.fetchzip { + url = "http://swahili.vickio.net/files/Swahili-English.zip"; + sha256 = "0m6wkwc83fcim43ijn17lcsda4clkra587gxaz6m59qd0yfwzakw"; + stripRoot = false; + }; + }; + makeStardictDataDir = dicts: pkgs.linkFarm "dictionaries" (lib.mapAttrsToList (name: path: { inherit name path; }) dicts); sdcvPager = pkgs.writeDash "sdcvPager" '' @@ -220,6 +229,7 @@ pkgs.symlinkJoin { paths = [ (mkDictBin "sd-classics" classicsDictionaries) (mkDictBin "sd-sanskrit" sanskritDictionaries) + (mkDictBin "sd-swahili" swahiliDictionaries) (mkDictBin "sd" englishGermanDictionaries) ]; } |