depot/third_party/nixpkgs/pkgs/development/libraries/enchant/1.x.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
667 B
Nix

{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
stdenv.mkDerivation rec {
version = "1.6.1";
pname = "enchant";
src = fetchurl {
url = "https://github.com/AbiWord/${pname}/releases/download/${pname}-1-6-1/${pname}-${version}.tar.gz";
sha256 = "1xg3m7mniyqyff8qv46jbfwgchb6di6qxdjnd5sfir7jzv0dkw5y";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ aspell glib hunspell hspell ];
meta = with stdenv.lib; {
description = "Generic spell checking library";
homepage = "https://abiword.github.io/enchant";
platforms = platforms.unix;
badPlatforms = [ "x86_64-darwin" ];
license = licenses.lgpl21;
};
}