nixpkgs-suyu/pkgs/development/libraries/enchant/default.nix

23 lines
630 B
Nix
Raw Normal View History

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