enchant2: init at 2.2.3

This commit is contained in:
Jan Tojnar 2018-03-14 14:56:19 +01:00
parent fead86590d
commit 4f338f0eee
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
let
version = "2.2.3";
pname = "enchant";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${name}.tar.gz";
sha256 = "0v87p1ls0gym95qirijpclk650sjbkcjjl6ssk059zswcwaykn5b";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib hunspell ];
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
meta = with stdenv.lib; {
description = "Generic spell checking library";
homepage = https://abiword.github.io/enchant/;
license = licenses.lgpl21Plus; # with extra provision for non-free checkers
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}

View File

@ -8670,6 +8670,8 @@ with pkgs;
enchant = callPackage ../development/libraries/enchant { };
enchant2 = callPackage ../development/libraries/enchant/2.x.nix { };
enet = callPackage ../development/libraries/enet { };
epoxy = callPackage ../development/libraries/epoxy {};