Commit graph

60 commits

Author SHA1 Message Date
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
Joel Taylor 3e8344d334 suitable clang stdenv 2014-09-09 13:54:24 -07:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
John Wiegley 78d452c93c Change aspell configure to use $out/lib/aspell 2014-04-16 12:59:27 -05:00
AndersonTorres 0c79b76271 Aspell dictionaries update: Portuguese (pt_PT) and Brazilian (pt_BR) 2014-03-23 13:17:34 -03:00
AndersonTorres 9c60834b23 Adding support for Portuguese language for Aspell 2013-12-05 02:22:47 +01:00
Bjørn Forsman 28ac782583 Some description fixes
There are many more packages to fix, this is just a start.

Rules:
 * Don't repeat the package name (not always that easy...)
 * Start with capital letter
 * Don't end with full stop
 * Don't start with "The ..." or "A ..."

I've also added descriptions to some packages and rewritten others.
2013-10-05 19:36:23 +02:00
Bjørn Forsman 8a9999e2bb aspell: add Norwegian dictionaries (Bokmal and Nynorsk) 2013-09-01 15:57:28 +02:00
Anders Claesson ddf4f3748a Add Swedish dictionary for aspell 2013-09-01 13:58:07 +01:00
Vladimir Still dce544ee6e aspell: Add Czech dictionary (pkgs.aspellDicts.cs). 2013-08-28 11:09:31 +02:00
Ludovic Courtès 2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Peter Simons 84d43394c6 pkgs/development/libraries/aspell/dictionaries.nix: strip trailing whitespace 2013-07-14 21:32:47 +02:00
Peter Simons 2741391fda Partially revert commit 075796e053.
The commit downgraded the german language dictionary from version 20030222-1 to
20120607 (and broke the build in the process). That change was probably not
intended?
2013-07-14 21:32:33 +02:00
Evgeny Egorochkin da4be371e9 make package use mirror:// for gnu, savannah and gnome repositories where possible 2013-07-14 05:23:06 +03:00
Evgeny Egorochkin 075796e053 aspell dictionaries: update where possible and try to make it easier to automatically parse versions 2013-07-14 02:08:55 +03:00
Evgeny Egorochkin dc54358ce9 Change package versions to conform to nixpkgs conventions. 2013-06-09 05:41:44 +03:00
Yury G. Kudryashov 71c28d0e33 Use meta.platforms
svn path=/nixpkgs/trunk/; revision=31909
2012-01-28 14:39:56 +00:00