Unverified Commit 47614916 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

Merge pull request #313374 from Andy3153/hunspell-ro_RO

hunspellDicts.ro-ro: init at 3.3.10
parents 4f54f479 923ea873
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1310,6 +1310,13 @@
    githubId = 29887;
    name = "Andrew Smith";
  };
  Andy3153 = {
    name = "Andrei Dobrete";
    email = "andy3153@protonmail.com";
    matrix = "@andy3153:matrix.org";
    github = "Andy3153";
    githubId = 53472302;
  };
  andys8 = {
    github = "andys8";
    githubId = 13085980;
+29 −0
Original line number Diff line number Diff line
@@ -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 {