summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tv/5pkgs/simple/stardict/default.nix10
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)
];
}