* aspell: hacked up a little patch to allow additional dictionary

directories to be specified through the environment variable
  ASPELL_EXTRA_DICT_DIRS.  This way dictionaries don't have to be
  installed into aspell's prefix.  Instead you can just set
  ASPELL_EXTRA_DICT_DIRS to $HOME/.nix-profile/lib/aspell and install
  dictionaries separately with nix-env (e.g. "nix-env -i
  aspell-dict-nl").
  
* Added a bunch of Aspell dictionaries.  Additional dictionaries can
  be added easily in development/libraries/aspell/dictionaries.nix.

svn path=/nixpkgs/trunk/; revision=9512
This commit is contained in:
Eelco Dolstra
2007-10-23 16:33:11 +00:00
parent 183d29946f
commit 6679941615
6 changed files with 144 additions and 27 deletions
+16 -10
View File
@@ -1,19 +1,25 @@
{stdenv, fetchurl, perl, which}:
{stdenv, fetchurl, perl}:
stdenv.mkDerivation {
name = "aspell-0.60.5";
src = fetchurl {
url = ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.5.tar.gz;
md5 = "17fd8acac6293336bcef44391b71e337";
};
builder = ./builder.sh;
buildInputs = [perl];
buildInputs = [perl which];
dictionaries =
let en = fetchurl {
url = ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-6.0-0.tar.bz2;
md5 = "16449e0a266e1ecc526b2f3cd39d4bc2";
};
in
[ en ];
patches = [
# A patch that allows additional dictionary directories to be set
# specified through the environment variable
# ASPELL_EXTRA_DICT_DIRS (comma-separated).
./dict-path.patch
];
meta = {
description = "A spell checker for many languages";
homepage = http://aspell.net/;
license = "LGPL";
};
}