nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

hyphen: add Russian dictionary, update readmeFileName values

For some reason README file for Russian has different naming upstream,
therefore `readmeFileName` for all languages was changed to accommodate
both naming schemes.

+15 -4
+15 -4
pkgs/development/libraries/hyphen/dictionaries.nix
··· 44 44 install -m644 "hyph_${dictFileName}.dic" "$out/share/hyphen" 45 45 # docs 46 46 install -dm755 "$out/share/doc/" 47 - install -m644 "README_hyph_${readmeFileName}.txt" "$out/share/doc/${pname}.txt" 47 + install -m644 "README_${readmeFileName}.txt" "$out/share/doc/${pname}.txt" 48 48 runHook postInstall 49 49 ''; 50 50 }; ··· 84 84 shortName = "de-de"; 85 85 shortDescription = "German (Germany)"; 86 86 dictFileName = "de_DE"; 87 - readmeFileName = "de"; 87 + readmeFileName = "hyph_de"; 88 88 }; 89 89 90 90 de_AT = de-at; ··· 93 93 shortName = "de-at"; 94 94 shortDescription = "German (Austria)"; 95 95 dictFileName = "de_AT"; 96 - readmeFileName = "de"; 96 + readmeFileName = "hyph_de"; 97 97 }; 98 98 99 99 de_CH = de-ch; ··· 102 102 shortName = "de-ch"; 103 103 shortDescription = "German (Switzerland)"; 104 104 dictFileName = "de_CH"; 105 - readmeFileName = "de"; 105 + readmeFileName = "hyph_de"; 106 + }; 107 + 108 + # RUSSIAN 109 + 110 + ru_RU = ru-ru; 111 + ru-ru = mkDictFromLibreofficeGit { 112 + subdir = "ru_RU"; 113 + shortName = "ru-ru"; 114 + shortDescription = "Russian (Russia)"; 115 + dictFileName = "ru_RU"; 116 + readmeFileName = "ru_RU"; 106 117 }; 107 118 }