Skip to content

Commit

Permalink
Merge pull request #313374 from Andy3153/hunspell-ro_RO
Browse files Browse the repository at this point in the history
hunspellDicts.ro-ro: init at 3.3.10
  • Loading branch information
kirillrdy authored Jun 6, 2024
2 parents 4f54f47 + 923ea87 commit 4761491
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,13 @@
githubId = 29887;
name = "Andrew Smith";
};
Andy3153 = {
name = "Andrei Dobrete";
email = "[email protected]";
matrix = "@andy3153:matrix.org";
github = "Andy3153";
githubId = 53472302;
};
andys8 = {
github = "andys8";
githubId = 13085980;
Expand Down
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 4761491

Please sign in to comment.