mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{stdenv, fetchurl, cmake, boost, zlib}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "clucene-core-2.3.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/clucene/${name}.tar.gz";
|
|
sha256 = "1arffdwivig88kkx685pldr784njm0249k0rb1f1plwavlrw9zfx";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost zlib ];
|
|
|
|
cmakeFlags = [ "-DBUILD_CONTRIBS=ON" "-DBUILD_CONTRIBS_LIB=ON" ];
|
|
|
|
patches = # From debian
|
|
[ ./Fix-pkgconfig-file-by-adding-clucene-shared-library.patch
|
|
./Fixing_ZLIB_configuration_in_shared_CMakeLists.patch
|
|
./Install-contribs-lib.patch
|
|
];
|
|
|
|
meta = {
|
|
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.
|
|
'';
|
|
homepage = http://clucene.sourceforge.net;
|
|
};
|
|
}
|