Unverified Commit a4545f20 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Welsh / Cymraeg Hunspell dictionary (#492934)

parents 4545f8e5 7ccf02b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -8757,6 +8757,12 @@
    githubId = 40620903;
    name = "figsoda";
  };
  fin-w = {
    email = "fin-w@tutanota.com";
    github = "fin-w";
    githubId = 41450706;
    name = "fin-w";
  };
  fionera = {
    email = "nix@fionera.de";
    github = "fionera";
+31 −0
Original line number Diff line number Diff line
@@ -1251,4 +1251,35 @@ rec {
      maintainers = with lib.maintainers; [ honnip ];
    };
  };

  # According to https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
  # we should use `cy` for Cymraeg but it's cy_GB in Hunspell.
  # WELSH / CYMRAEG
  cy_GB = cy-gb;
  cy-gb = mkDict rec {
    pname = "hunspell-dict-cy-gb";
    version = "25.03";

    src = fetchFromGitHub {
      owner = "techiaith";
      repo = "hunspell-cy";
      tag = version;
      hash = "sha256-T1p0LbCUTKN7xfogbI2RqxdONgcMxDpjjFW+dN8IGa4=";
    };

    shortName = "cy-GB";
    dictFileName = "cy_GB";
    readmeFile = "README.md";

    meta = {
      description = "Hunspell dictionary for Welsh (Cymraeg)";
      homepage = "https://github.com/techiaith/hunspell-cy";
      license = with lib.licenses; [
        lgpl3
      ];
      maintainers = with lib.maintainers; [
        fin-w
      ];
    };
  };
}