about summary refs log tree commit diff
path: root/pkgs/development/libraries/aspell/default.nix
blob: 5ac6fce7096bce004f4c2fc40595125448297214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, fetchurl, perl}:

stdenv.mkDerivation rec {
  name = "aspell-0.60.6";
  
  src = fetchurl {
    url = "ftp://ftp.gnu.org/gnu/aspell/${name}.tar.gz";
    sha256 = "0dhfgkp2y16z0agdvhn4iaikr34l4agjz2nannqvpxkcw8h1ansg";
  };
  
  buildInputs = [perl];

  # Note: Users should define the `ASPELL_CONF' environment variable to
  # `dict-dir $HOME/.nix-profile/lib/aspell/' so that they can access
  # dictionaries installed in their profile.
  #
  # We can't use `$out/etc/aspell.conf' for that purpose since Aspell
  # doesn't expand environment variables such as `$HOME'.

  meta = {
    description = "GNU Aspell, A spell checker for many languages";
    homepage = http://aspell.net/;
    license = "LGPL";
  };
}