forked from mirrors/nixpkgs
6679941615
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
26 lines
577 B
Nix
26 lines
577 B
Nix
{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";
|
|
};
|
|
|
|
buildInputs = [perl];
|
|
|
|
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";
|
|
};
|
|
}
|