2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl}:
|
2007-08-05 13:54:42 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 22:12:55 +00:00
|
|
|
pname = "clucene-core";
|
|
|
|
version = "0.9.21b";
|
2007-08-05 13:54:42 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
src = fetchurl {
|
2021-11-09 22:12:55 +00:00
|
|
|
url = "mirror://sourceforge/clucene/clucene-core-${version}.tar.bz2";
|
2009-09-08 13:38:47 +00:00
|
|
|
sha256 = "202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317";
|
2009-04-21 23:18:09 +00:00
|
|
|
};
|
2017-07-25 09:55:50 +00:00
|
|
|
|
|
|
|
patches = [ ./gcc6.patch ];
|
|
|
|
|
2022-04-15 16:07:31 +00:00
|
|
|
NIX_CFLAGS_COMPILE = [
|
|
|
|
"-std=c++11"
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2022-05-28 13:38:40 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Core library for full-featured text search engine";
|
|
|
|
longDescription = ''
|
|
|
|
CLucene is a high-performance, scalable, cross platform, full-featured,
|
|
|
|
open-source indexing and searching API. Specifically, CLucene is the guts
|
|
|
|
of a search engine, the hard stuff. You write the easy stuff: the UI and
|
|
|
|
the process of selecting and parsing your data files to pump them into
|
|
|
|
the search engine yourself, and any specialized queries to pull it back
|
|
|
|
for display or further processing.
|
|
|
|
|
|
|
|
CLucene is a port of the very popular Java Lucene text search engine API.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://clucene.sourceforge.net";
|
2021-03-11 17:36:45 +00:00
|
|
|
platforms = platforms.unix;
|
2018-09-30 09:19:50 +00:00
|
|
|
license = with licenses; [ asl20 lgpl2 ];
|
2009-04-21 23:18:09 +00:00
|
|
|
};
|
2007-08-05 13:54:42 +00:00
|
|
|
}
|