2018-09-18 21:43:34 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2019-07-02 01:11:35 +02:00
|
|
|
version = "5.6.2";
|
2018-09-18 21:43:34 +02:00
|
|
|
pname = "link-grammar";
|
|
|
|
|
|
|
|
outputs = [ "bin" "out" "dev" "man" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz";
|
2019-07-02 01:11:35 +02:00
|
|
|
sha256 = "1jc6j5kxdv3y4mm82q0rrjvlak8p26fqh92dzw5bkwxnvjmjjg1k";
|
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;
|
|
|
|
};
|
|
|
|
}
|