Commit Graph

76 Commits

Author SHA1 Message Date
Felix Buehler
e7a35cdb31 aspell: deprecate phases 2021-08-04 17:42:38 +02:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
R. RyanTM
82bf100ef4 aspellDicts.en: 2019.10.06-0 -> 2020.12.07-0 2020-12-11 06:50:10 +00:00
Samuel Gräfenstein
22b73d1282 pkgs/*: add final newline to .nix files 2020-11-09 11:39:28 +00:00
Anthony Cowley
8db271b98f aspellDicts: force grep to treat dictionaries as text files
Fixes #101184
2020-10-20 13:19:24 -04:00
R. RyanTM
6efcb72ac1 aspellDicts.pt_BR: 20090702-0 -> 20131030-12-0 2020-08-31 16:52:36 +02:00
R. RyanTM
78b3da115b aspellDicts.pt_PT: 20070510-0 -> 20190329-1-0 2020-08-31 16:52:18 +02:00
R. RyanTM
c4600ab4a6 aspellDicts.de: 20030222-1 -> 20161207-7-0 2020-08-02 19:23:19 +00:00
Benjamin Hipple
35ee9b6d94 aspell, tla: use pname 2020-04-24 20:16:12 -04:00
Kevin Stock
295475a378 aspell, tla: use HTTPS instead of FTP
ftp.gnu.org intends to disable the FTP protocol for downloads on this
server, and strongly recommends using https instead.
2020-04-24 17:43:35 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
d8b92121d4 aspell: perl is also a native build input
This is needed for some scripts needed at build time.
2020-03-05 20:38:43 -05:00
Lancelot SIX
648678f6e1 aspell: 0.60.6.1 -> 0.60.8
See http://aspell.net/aspell-0.60.8.txt for release information.
(#71242)
2019-11-24 00:37:38 +01:00
Will Dietz
5ae6d3a33b
aspellDicts.en-science: update hashes for latest/current content
According to [1] they were last updated July 4, 2019.

[1] http://www.jpetrie.net/scientific-word-list-for-spell-checkersspelling-dictionaries/
2019-10-07 18:27:01 -05:00
Will Dietz
73b61a49d4
aspellDicts.en: 2018.04.16-0 -> 2019.10.06-0 2019-10-07 18:26:58 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Olli Helenius
098c442674 Fix nix-shell packages for lynx->curl 2019-02-24 20:06:30 +02:00
Olli Helenius
291eae81ff Scrape directory index with curl instead of lynx 2019-02-24 18:46:58 +02:00
Olli Helenius
16b009d1c0 Address review comments
- Use HTTPS and tighter version regexp to guard against MitM
 - Use nix-instantiate instead of experimental nix eval
 - Handle dictionary-specific meta overrides
2019-02-18 17:34:49 +02:00
Olli Helenius
3bcdff95a5 aspell: use fetchzip instead of fetchTarball to fetch u-deva files 2019-01-05 13:59:25 +02:00
Olli Helenius
3bfeecb981 aspell: remove override of name in buildOfficialDict
The name should include the version number and this is handled just fine by
buildDict.
2019-01-05 13:43:01 +02:00
Olli Helenius
7bf9f243e8 aspell: add all missing official dictionaries
From:

  https://ftp.gnu.org/gnu/aspell/dict/0index.html

Use a specialized function, buildOfficialDict to specialize builds of
official aspell dictionaries and add an update script.
2019-01-01 21:22:37 +02:00
Olli Helenius
f159fc8f19 aspellDicts.en: 2016.06.26-0 -> 2018.04.16-0 2018-12-30 10:59:36 -05:00
Bjørn Forsman
ee1b7bf831 aspellDicts: use shortName to keep DRY
Prevents typos like the ones fixed in the parent commit.
2018-08-11 21:35:37 +02:00
Bjørn Forsman
ada797e9aa aspellDicts: fix typos in shortName
Affected dicts: nn, pt_BR, pt_PT
2018-08-11 21:35:37 +02:00
Vladimír Čunát
1d15dadbec
Merge branch 'master' into staging
Larger rebuilds from master.
2018-02-20 20:33:40 +01:00
SLNOS
3f9ada02ae aspellDicts: add more dictionaries and some documentation 2018-02-18 12:58:50 +00:00
Franz Pletz
c135ecd7ef
Merge remote-tracking branch 'origin/master' into gcc-7 2018-02-05 13:11:33 +01:00
Vladimír Čunát
2d2dbe083f
Merge branch 'master' into staging
Hydra: ?compare=1429281
2018-01-27 09:14:22 +01:00
Tuomas Tynkkynen
6a11ebfae9 Merge remote-tracking branch 'upstream/master' into gcc-7
Conflicts:
	pkgs/development/compilers/gcc/7/default.nix
	pkgs/development/libraries/SDL2/default.nix
	pkgs/top-level/all-packages.nix
2018-01-26 16:46:43 +02:00
Francesc Elies Henar
783acc9525 aspellDicts.tr: init at 0.50 2018-01-25 22:32:44 +01:00
Will Dietz
0509695050 aspell: perl should be nativeBuildInput
build fails otherwise, presumably not also needed
as a buildInput for some reason.
2018-01-24 09:33:36 -06:00
Vladimír Čunát
f52bafe8e1
aspell: fix build with gcc-7 via upstream patch 2017-11-12 11:15:07 +01:00
Rostislav Beneš
ba4cefe4ae aspell: added new patch data-dirs-from-nix-profiles.patch
Aspell will search for dictionaries in all nix profiles even when used as library.
Setting data-dir or dict-dir in ASPELL_CONF will disable this behavior.
2017-10-22 21:01:40 +02:00
Frederik Rietdijk
91f7042aa0 aspellWithDicts: use a single env
In c0cf19608f the function
`aspellWithDicts` was introduced, that allows to build a derivation
consisting of aspell and specified dictionaries. In
96457d26dd a fix was included to properly
find the dictionaries.

Issue #29429 describes that, while the current method works for the
aspell binary, it does not in case of the API.

This commit rewrites the wrapper into a single derivation, create a
single tree of symbolic references to both the binary and the
dictionaries so that its possible to find the dictionaries with the API.
Furthermore, the binary is wrapped so it can still find the dictionaries
as well.
2017-09-16 13:06:26 +02:00
Frederik Rietdijk
96457d26dd aspellWithDicts: fixes #28318 2017-08-21 03:32:56 +02:00
Frederik Rietdijk
c0cf19608f aspellWithDicts: create derivation with aspell and selected dictionaries
Currently, `aspell` checks the active profiles for dictionaries. While
this may be convenient, it does not work with `nix-shell` and it doesn't
allow any isolation.

This commit adds the possibility to use composition by creating a
derivation with `symlinkJoin` that contains all the chosen dictionaries,
and another derivation that wraps the executables linking to the dictionaries.

Nix example:

my_aspell = aspellWithDicts(ps: with ps; [ en nl ])

`nix-shell` example:

nix-shell -p 'aspellWithDicts(ps: with ps; [ en nl ])'
2017-07-17 10:17:20 +02:00
Benno Fünfstück
042e268612 Revert "aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset"
This reverts commit 399065f226.

I am blind, this was already checked above. Thanks @bjornfor for noticing.
2017-04-19 20:21:36 +02:00
Benno Fünfstück
399065f226 aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset 2017-04-19 17:14:51 +02:00
Leandro Lisboa Penz
ce6b5b8673 aspell: set default aspell data-dir if ASPELL_CONF is not set
if the user didn't set ASPELL_CONF, use it to point to the dictionary
location by first looking at NIX_PROFILE directories and then using
$HOME/.nix-profile.

See NixOS/nixpkgs#1000
2017-04-10 22:14:29 +01:00
Toni Reina
4e72d2da50 aspell-dict-ca: init at 2.1.5-1 2017-02-14 15:17:28 +01:00
Kranium Gikos Mendoza
56cb0f763e aspellDicts.en: 7.1-0 -> 2016.06.26-0 2016-07-03 22:45:22 +08:00
Alexey Shmalko
c68e823029 aspell-dict-uk: init at 1.4.0-0 (#15846) 2016-05-31 17:09:01 +02:00
Sergiu Ivanov
be590f1d9d aspell-dict-ro: init at 3.3-2 2016-03-07 19:42:26 +01:00
Bojan Nikolic
842613fb10 aspell: improve the doc string, fixes #11814
It is better to specify data-dir in the environmental variable since
then both the language description files and the dictionaries will be
found. Since dict-dir defaults to data-dir only the latter needs to be
set. See for example https://github.com/NixOS/nixpkgs/issues/1000
2015-12-22 01:56:27 +01:00
Mads Lindstrøm
012bb48a18 Adding Danish dictionary to Aspell 2015-04-16 19:37:41 +02:00
Vladimír Čunát
52404a868d Merge recent master into staging
Nixpkgs Hydra: ?compare=1157272

TODO: port e22889064f

Conflicts:
	nixos/tests/gnome3_10.nix (auto-solved)
	pkgs/applications/video/aegisub/default.nix
	pkgs/development/libraries/boost/1.55.nix
2014-11-05 15:00:44 +01:00
Vladimir Still
351c18b4fd aspell: Add Slovak dictionary. 2014-11-04 16:18:20 +01:00
Eelco Dolstra
7495c61d49 Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts:
	pkgs/applications/editors/vim/macvim.nix
2014-11-04 14:30:43 +01:00
Bjørn Forsman
2099f6282f aspell: set meta.platforms 2014-10-27 18:52:28 +01:00