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 | 10060ce73c4d04a582267158359f78395ca73929 (patch) | |
tree | 5ecd46a7415ddc91fb56c2030f5e80d3ce6a6e70 | |
parent | be15c9d17087b10426f8ea53818f01516d6ce550 (diff) |
tv stardict: add swahili
-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 e835cae..2135cc0 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) ]; } |