Commit Graph

49 Commits

Author SHA1 Message Date
Vladimír Čunát
4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
Jai Flack
cac6631e61 Add large hunspell dicts (#67424)
* Move en_AU alias to above declaration to match others

* Add en_GB-large, en_US-large, en_CA-large and en_AU-large hunspell dictionaries

Squashed commit of the following:

commit e3c0054263f6d71c1890ecb52b06ade71ce046ee
Author: Jai Flack <jaiflack@protonmail.com>
Date:   Tue Aug 27 18:38:34 2019 +1000

    Add en_GB-large, en_US-large, en_CA-large and en_AU-large hunspell
    dictionaries

    Squashed commit of the following:

    commit 6b16e7326061aa55bb6993b3913fb4fb701a9b8f
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:38:08 2019 +1000

        Adding en_GB-large dictionary

    commit c94c6c39503750c820cdab533b4372695b61bad3
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:37:37 2019 +1000

        Fix en_US-large and en_CA-large hashes

    commit 84a847b39e7ad967d26434b0f6935211bb42010a
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:15:54 2019 +1000

        Adding en_AU-large dictionary

    commit b7d6e1ceebae98a5d7f3c6e119cb3816b879ed54
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:15:36 2019 +1000

        Adding en_CA-large dictionary

    commit c1857a6e054b60bbe51eda4a8c3c55285cf6092e
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:15:10 2019 +1000

        Adding en_US-large dictionary

    commit 898caa0eb9452992d5dc59cd82d267fcc8ad1133
    Author: Jai Flack <jaiflack@protonmail.com>
    Date:   Sun Aug 25 15:14:25 2019 +1000

        Modifying mkDictFromWordlist to allow for different src and destination
        file names
2019-09-03 22:57:46 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk
98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
Vladyslav M
e89dc6af4e
hunspellDicts.uk-ua: 4.2.5 -> 4.6.3 2019-08-26 16:17:56 +03:00
Vladimír Čunát
985d1ac425
Merge branch 'master' into staging-next
There were several more conflicts from name -> pname+version;
all auto-solved by kdiff3, hopefully OK.

Hydra nixpkgs: ?compare=1538611
2019-08-25 14:57:11 +02:00
Jai Flack
004e9b5b41 hunspell-dicts: add support for Australian dictionary (#66462)
Using the SCOWL dictionaries (same as en_US and en_CA)
2019-08-24 20:37:51 -04:00
Frederik Rietdijk
fe9a3e3e63 Merge staging-next into staging 2019-08-17 09:39:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Matthew Bauer
ed060975c5 hunspellDicts: add aliases for each dictionary
This adds LANG aliases for each dictionary. This makes things a little
easier and expected. For instance, you get an error message from
hunspell like:

  Can't open affix or dictionary files for dictionary named "en_US".

and you can resolve it by running

  nix-env -iA nixpkgs.hunspellDicts.en_US
2019-07-24 17:39:27 -04:00
Matthew Bauer
69423bd5aa hunspell: add patch to look in XDG_DATA_DIRS 2019-07-24 17:39:24 -04:00
Maximilian Bosch
a9d67d54b0
hunspellDicts.fr-any: link fr-moderne to fr_FR
Some packages like `ibus-engines.typing-booster` require the dictionary
`fr_FR.dic` to provide proper support for the french language.

Until now the hunspell package set of nixpkgs didn't provide this
dictionary. It has been recommended to use `fr-moderne` as base and link
`fr_FR.dic` from it as done by other distros such as ArchLinux.

See https://github.com/NixOS/nixpkgs/issues/46940#issuecomment-423684570

Fixes #46940
2019-05-23 15:53:50 +02:00
Vladyslav M
7ea8027446
hunspellDicts.uk-ua: init at 4.2.5 2019-04-06 17:09:12 +03:00
László Vaskó
27e3089360 hunspell-dicts: add support for Hungarian dictionary
LibreOffice has a comprehensive collection of Hunspell dictionaries.
`mkDictFromLibreOffice` helper is introduced to make it easy to add new
dictionaries from this repository. `license` is parametrized because
each dictionary has its own license.
2019-02-07 21:12:31 +01:00
Franz Pletz
96881a6c1d
hunspellDicts.en-*: 2014.11.17 -> 2018.04.16 2019-02-03 13:24:31 +01:00
R. RyanTM
44d9141153 hunspell: 1.6.2 -> 1.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/hunspell/versions
2018-11-19 07:02:38 -08:00
Markus Kowalewski
f9e1b104b1
hunspell: add licenses 2018-10-13 00:05:48 +02:00
Jan Malakhovski
856868d72c hunspell: fix tests 2018-08-11 09:35:20 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Oscar Carlsson
8d10896111 hunspell-dicts: add support for swedish dictionary (#39061) 2018-04-17 22:33:52 +01:00
timor
76a01ad9d1 hunspell-dicts: add support for german dictionary
Note that this relies on ispell as a dependency.  Also, perl and hunspell itself
are used during building the dictionary.
2018-03-01 23:54:04 +01:00
Arcadio Rubio García
671c0622c6 hunspell: 1.6.1 -> 1.6.2 2018-01-22 01:43:48 +00:00
Frederik Rietdijk
13bbaee21d Merge pull request #27881 from mimadrid/fix/http-https
Update homepage attributes: http -> https
2017-08-13 21:53:20 +02:00
davidak
3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Renzo Carbonara
29e04dfdaa hunspellDicts: add spanish dictionaries.
This reverts commit cf4f91f1a2, which
removed all of the spanish dictionaries. These dictionaries were
previously part of the “Red IRIS” project, but they are now part of the
“Recursos Linguísticos Abiertos del Español” project.

Additionally, this cleans up the implementation of all the Hunspell
dictionaries, since the supposedly internal `mkDict` function was either
overspecialized or overgeneralized. Now we don't try to abstract beyond
what makes sense to be abstracted.
2017-05-21 12:49:48 +02:00
Unai Zalakain
337687c318 hunskell: add basque dictionary Xuxen 5
mkDict doesn't easily adapt to dictionaries that have multiple source
files but no readme, so I did not use it. Having a "generic" function
that then has per-language quirks is a bad abstraction.

A small utility function that copies a given file to hunspell's and
myspell's dirs and a separate one that copies a given readme file would
be more useful.
2017-05-20 20:10:23 +02:00
taku0
5bcaeda4c8 hunspell: 1.3.3 -> 1.6.1 2017-04-23 11:42:59 +09:00
zimbatm
c0d60b9dbe hunspellDict.it-it: use sha256 hash 2017-01-24 16:56:25 +00:00
zimbatm
cf4f91f1a2 hunspellDicts: remove spanish dictionaries
Unfortunately the upstream has gone and I didn't find any replacement
sources.
2017-01-24 16:55:35 +00:00
Vladimír Čunát
4007e5b807 hunspellWithDicts: fix bad meta.outputsToInstall
https://github.com/NixOS/nixpkgs/issues/15036#issuecomment-247874297
2016-09-18 22:39:57 +02:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Tuomas Tynkkynen
66de416b7a treewide: Mass replace 'hunspell}/bin' to refer to the correct outputs 2016-04-14 08:32:20 +03:00
Robin Gloster
ad9376dc74 hunspell: disable format hardening 2016-04-05 16:49:28 +00:00
Vladimír Čunát
09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Simon Vandel Sillesen
b34b05b3b8 Hunspell: add wrapper to include dictionaries
use like this:
(hunspellWithDicts (with hunspellDicts; [en-us en-gb-ise]))
2016-02-01 18:44:20 +01:00
Vladimír Čunát
ba62e9e81e hunspell: split outputs, refactor
I see no reason for those buildInputs to be propagated.
They seem only use in the binary utility.

/cc maintainer @fuuzetsu.
2015-04-19 01:28:01 +02:00
Peter Simons
f7c2699fde hunspell-dictionaries: cosmetic 2015-03-25 19:34:46 +01:00
Peter Simons
279429b700 hunspell-dictionaries: update french dictonary to fix the build
The old version has disappeared from the server.
2015-03-25 19:34:46 +01:00
Renzo Carbonara
886575ec1a New packages: Hunspell dictionaries for Spanish, Italian and French.
These aren't readily picked up by Hunspell-compatible software such as
Firefox or LibreOffice just yet, as they need to be setup to look for
the dictionaries at the proper paths. Nevertheless, one can point
Hunspell-compatible tools to, say, $HOME/.nix-profile/share/hunspell and
they will find the dictionaries:

  % echo "bonjor" | hunspell -d fr-classique
  Can't open affix or dictionary files for dictionary named "fr-classique".

  % export DICPATH=$HOME/.nix-profile/share/hunspell
  % echo "bonjor" | hunspell -d fr-classique
  Hunspell 1.3.3
  & bonjor 1 0: bonjour

The full list of packages added:

hunspellDicts.es-any         hunspell-dict-es-any-rediris-0.7
hunspellDicts.es-ar          hunspell-dict-es-ar-rediris-0.7
hunspellDicts.es-bo          hunspell-dict-es-bo-rediris-0.7
hunspellDicts.es-cl          hunspell-dict-es-cl-rediris-0.7
hunspellDicts.es-co          hunspell-dict-es-co-rediris-0.7
hunspellDicts.es-cr          hunspell-dict-es-cr-rediris-0.7
hunspellDicts.es-cu          hunspell-dict-es-cu-rediris-0.7
hunspellDicts.es-do          hunspell-dict-es-do-rediris-0.7
hunspellDicts.es-ec          hunspell-dict-es-ec-rediris-0.7
hunspellDicts.es-es          hunspell-dict-es-es-rediris-0.7
hunspellDicts.es-gt          hunspell-dict-es-gt-rediris-0.7
hunspellDicts.es-hn          hunspell-dict-es-hn-rediris-0.7
hunspellDicts.es-mx          hunspell-dict-es-mx-rediris-0.7
hunspellDicts.es-ni          hunspell-dict-es-ni-rediris-0.7
hunspellDicts.es-pa          hunspell-dict-es-pa-rediris-0.7
hunspellDicts.es-pe          hunspell-dict-es-pe-rediris-0.7
hunspellDicts.es-pr          hunspell-dict-es-pr-rediris-0.7
hunspellDicts.es-py          hunspell-dict-es-py-rediris-0.7
hunspellDicts.es-sv          hunspell-dict-es-sv-rediris-0.7
hunspellDicts.es-uy          hunspell-dict-es-uy-rediris-0.7
hunspellDicts.es-ve          hunspell-dict-es-ve-rediris-0.7
hunspellDicts.fr-any         hunspell-dict-fr-any-dicollecte-5.2
hunspellDicts.fr-classique   hunspell-dict-fr-classique-dicollecte-5.2
hunspellDicts.fr-moderne     hunspell-dict-fr-moderne-dicollecte-5.2
hunspellDicts.fr-reforme1990 hunspell-dict-fr-reforme1990-dicollecte-5.2
hunspellDicts.it-it          hunspell-dict-it-it-linguistico-2.4
hunspellDicts.en-us      hunspell-dict-en-us-wordlist-2014.11.17
hunspellDicts.en-ca      hunspell-dict-en-ca-wordlist-2014.11.17
hunspellDicts.en-gb-ise  hunspell-dict-en-gb-ise-wordlist-2014.11.17
hunspellDicts.en-gb-ize  hunspell-dict-en-gb-ize-wordlist-2014.11.17

Added myself to maintainers.nix
2015-02-01 15:00:49 +01:00
Tobias Geerinckx-Rice
c64257b8e5 Fix user-facing typos (mainly in descriptions) 2014-12-30 03:31:03 +01:00
Mateusz Kowalczyk
8efc0c592b hunspell: update from 1.3.2 to 1.3.3
urkud is no longer active so I am hijacking maintainership label on this

cc @urkud
2014-09-30 11:07:59 +01:00
Bjørn Forsman
083d0890f5 More description fixes
* Remove package name
* Start with upper case letter
* Remove trailing period

Also reword some descriptions and move some long descriptions to
longDescription.

I'm not touching generated packages.
2013-10-06 12:01:38 +02:00
Eelco Dolstra
7fd42a8380 Get rid of the "sf" alias for "sourceforge" 2013-01-14 12:00:32 +01:00
Vladimír Čunát
54651b2662 Hunspell upgrade. 2012-08-07 16:38:26 +02:00
Yury G. Kudryashov
3c6835f8d8 Hunspell-1.2.12
svn path=/nixpkgs/trunk/; revision=25103
2010-12-13 18:10:31 +00:00
Yury G. Kudryashov
dc475a09a9 Add hunspell
TODO: make it work (export DICTDIR)

svn path=/nixpkgs/trunk/; revision=22432
2010-06-30 15:53:28 +00:00