summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-10-05 22:40:48 -0500
committerGitHub <noreply@github.com>2018-10-05 22:40:48 -0500
commite4a6288b755e6842fd379dbca172655827135773 (patch)
treebf8c4a309e0fe9ba9eee1672cd76febf5ff63cd9 /pkgs/tools/text
parent3e349294b4cac5b843f39352730d168f8e2306e2 (diff)
parent62c4a16ff1e271f7d3613c1b7e23c9c9478e9568 (diff)
downloadnixlib-e4a6288b755e6842fd379dbca172655827135773.tar
nixlib-e4a6288b755e6842fd379dbca172655827135773.tar.gz
nixlib-e4a6288b755e6842fd379dbca172655827135773.tar.bz2
nixlib-e4a6288b755e6842fd379dbca172655827135773.tar.lz
nixlib-e4a6288b755e6842fd379dbca172655827135773.tar.xz
nixlib-e4a6288b755e6842fd379dbca172655827135773.tar.zst
nixlib-e4a6288b755e6842fd379dbca172655827135773.zip
Merge pull request #46863 from siers/link-grammar
link-grammar: init at 5.5.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/link-grammar/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/text/link-grammar/default.nix b/pkgs/tools/text/link-grammar/default.nix
new file mode 100644
index 000000000000..294aa1576801
--- /dev/null
+++ b/pkgs/tools/text/link-grammar/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  version = "5.5.1";
+  pname = "link-grammar";
+
+  outputs = [ "bin" "out" "dev" "man" ];
+
+  src = fetchurl {
+    url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz";
+    sha256 = "1x8kj1yr3b7b6qrvc5b8mm90ff3m4qdbdqplvzii2xlkpvik92ff";
+  };
+
+  nativeBuildInputs = [ pkgconfig python3 ];
+  buildInputs = [ sqlite libedit zlib ];
+
+  configureFlags = [
+    "--disable-java-bindings"
+  ];
+
+  meta = with stdenv.lib; {
+    description = "A Grammar Checking library";
+    homepage = https://www.abisource.com/projects/link-grammar/;
+    license = licenses.lgpl21;
+    maintainers = with maintainers; [ jtojnar ];
+    platforms = platforms.unix;
+  };
+}