diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/enchant/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/enchant/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/enchant/default.nix b/nixpkgs/pkgs/development/libraries/enchant/default.nix new file mode 100644 index 000000000000..dc0967ef61ef --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/enchant/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }: + +stdenv.mkDerivation rec { + name = "${pname}-${version}"; + version = "1.6.1"; + pname = "enchant"; + + src = fetchurl { + url = "https://github.com/AbiWord/${pname}/releases/download/${pname}-1-6-1/${name}.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; + license = licenses.lgpl21; + }; +} |