2007-10-23 18:33:11 +02:00
|
|
|
{stdenv, fetchurl, perl}:
|
2007-05-13 16:22:24 +02:00
|
|
|
|
2009-02-12 20:34:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-08-22 19:37:59 +02:00
|
|
|
name = "aspell-0.60.6.1";
|
|
|
|
|
2007-05-13 16:22:24 +02:00
|
|
|
src = fetchurl {
|
2009-02-12 20:34:03 +01:00
|
|
|
url = "ftp://ftp.gnu.org/gnu/aspell/${name}.tar.gz";
|
2011-08-22 19:37:59 +02:00
|
|
|
sha256 = "1qgn5psfyhbrnap275xjfrzppf5a83fb67gpql0kfqv37al869gm";
|
2007-05-13 16:22:24 +02:00
|
|
|
};
|
2011-08-22 19:37:59 +02:00
|
|
|
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2007-05-13 16:22:24 +02:00
|
|
|
|
2008-02-14 10:40:28 +01:00
|
|
|
# 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'.
|
2007-10-23 18:33:11 +02:00
|
|
|
|
|
|
|
meta = {
|
2008-02-14 10:40:28 +01:00
|
|
|
description = "GNU Aspell, A spell checker for many languages";
|
2007-10-23 18:33:11 +02:00
|
|
|
homepage = http://aspell.net/;
|
2011-08-22 19:37:59 +02:00
|
|
|
license = "LGPLv2+";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2007-10-23 18:33:11 +02:00
|
|
|
};
|
2007-05-13 16:22:24 +02:00
|
|
|
}
|