2018-09-18 21:43:34 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-03-05 09:05:02 +01:00
|
|
|
version = "5.8.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";
|
2020-03-05 09:05:02 +01:00
|
|
|
sha256 = "1v8ngx77nachxln68xpvyw2lh7z59pzsi99h8j0mnrm0gjsacrdd";
|
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";
|
2020-03-05 09:05:02 +01:00
|
|
|
homepage = "https://www.abisource.com/projects/link-grammar/";
|
2018-09-18 21:43:34 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|