about summary refs log tree commit diff
path: root/pkgs/development/libraries/enchant/1.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/enchant/1.x.nix')
-rw-r--r--pkgs/development/libraries/enchant/1.x.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/enchant/1.x.nix b/pkgs/development/libraries/enchant/1.x.nix
new file mode 100644
index 000000000000..b7303468cbaf
--- /dev/null
+++ b/pkgs/development/libraries/enchant/1.x.nix
@@ -0,0 +1,23 @@
+{ 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;
+    badPlatforms = [ "x86_64-darwin" ];
+    license = licenses.lgpl21;
+  };
+}