Skip to content

Commit

Permalink
hunspellDicts.ro-ro: init at 3.3.10
Browse files Browse the repository at this point in the history
add a Romanian dictionary for Hunspell from rospell on Sourceforge
  • Loading branch information
Andy3153 committed Jun 5, 2024
1 parent db426fa commit 923ea87
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/libraries/hunspell/dictionaries.nix
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,35 @@ rec {
};
};

/* ROMANIAN */
ro_RO = ro-ro;
ro-ro = mkDict rec {
pname = "hunspell-dict-ro-ro";
version = "3.3.10";
shortName = "ro-ro";
dictFileName = "ro_RO";
fileName = "${dictFileName}.${version}.zip";
shortDescription = "Romanian (Romania)";
readmeFile = "README";

src = fetchurl {
url = "https://downloads.sourceforge.net/rospell/${fileName}";
hash = "sha256-fxKNZOoGyeZxHDCxGMCv7vsBTY8zyS2szfRVq6LQRRk=";
};

nativeBuildInputs = [ unzip ];
unpackCmd = ''
unzip $src ${dictFileName}.aff ${dictFileName}.dic ${readmeFile} -d ${dictFileName}
'';

meta = {
description = "Hunspell dictionary for ${shortDescription} from rospell";
homepage = "https://sourceforge.net/projects/rospell/";
license = with lib.licenses; [ gpl2Only ];
maintainers = with lib.maintainers; [ Andy3153 ];
};
};

/* Turkish */
tr_TR = tr-tr;
tr-tr = mkDict rec {
Expand Down

0 comments on commit 923ea87

Please sign in to comment.