2018-09-18 21:43:34 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-27 04:25:36 +02:00
|
|
|
version = "5.7.0";
|
2018-09-18 21:43:34 +02:00
|
|
|
pname = "link-grammar";
|
|
|
|
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://www.abisource.com/downloads/${pname}/${version}/${pname}-${version}.tar.gz";
|
2019-09-27 04:25:36 +02:00
|
|
|
sha256 = "0ak1v469k56v3511kxxkxvx1nw6zcxcl0f1kcvc82ffacqbr4y96";
|
2018-09-18 21:43:34 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|