16 link-grammar = stdenv.mkDerivation rec {
17 pname = "link-grammar";
28 url = "http://www.abisource.com/downloads/${pname}/${version}/${pname}-${version}.tar.gz";
29 sha256 = "sha256-MkcQzYEyl1/5zLU1CXMvdVhHOxwZ8XiSAAo97bhhiu0=";
44 "--disable-java-bindings"
51 runCommand "link-grammar-quick-test"
59 echo "Furiously sleep ideas green colorless." | link-parser en | grep "No complete linkages found." || die "Grammaticaly invalid sentence was parsed."
60 echo "Colorless green ideas sleep furiously." | link-parser en | grep "Found .* linkages." || die "Grammaticaly valid sentence was not parsed."
66 description = "Grammar Checking library";
67 homepage = "https://www.abisource.com/projects/link-grammar/";
68 changelog = "https://github.com/opencog/link-grammar/blob/link-grammar-${version}/ChangeLog";
69 license = licenses.lgpl21Only;
70 maintainers = with maintainers; [ jtojnar ];
71 platforms = platforms.unix;