nixpkgs/pkgs/development/libraries/enchant/default.nix
2018-10-08 22:37:05 +02:00

22 lines
630 B
Nix

{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "1.6.0";
pname = "enchant";
src = fetchurl {
url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz";
sha256 = "0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ aspell glib hunspell hspell ];
meta = with stdenv.lib; {
description = "Generic spell checking library";
homepage = http://www.abisource.com/enchant;
platforms = platforms.unix;
license = licenses.lgpl21;
};
}