Added some parts of kde-4. It doesn't work yet, but I need version control
svn path=/nixpkgs/trunk/; revision=9049
This commit is contained in:
18
pkgs/development/libraries/clucene-contrib/default.nix
Normal file
18
pkgs/development/libraries/clucene-contrib/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, cluceneCore}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "clucene-contrib-0.9.16a";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.chg.ru/pub/sourceforge/c/cl/clucene/clucene-contrib-0.9.16a.tar.bz2;
|
||||
sha256 = "1apk867pggxsflhgvsnhcmy5vz2cvc1b914g4inkcj6s5vn1a1jx";
|
||||
};
|
||||
inherit cluceneCore;
|
||||
buildInputs=[cluceneCore];
|
||||
configureFlags = "--disable-static --with-clucene=${cluceneCore}";
|
||||
|
||||
meta = {
|
||||
description = "CLucene is a port of the very popular Java Lucene text search engine API. Contrib package.";
|
||||
homepage = http://clucene.sourceforge.net;
|
||||
};
|
||||
}
|
||||
16
pkgs/development/libraries/clucene-core/default.nix
Normal file
16
pkgs/development/libraries/clucene-core/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "clucene-core-0.9.16a";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.chg.ru/pub/sourceforge/c/cl/clucene/clucene-core-0.9.16a.tar.bz2;
|
||||
sha256 = "0hv7sp1lbicnj2984hiki8qwrvz5zwn1zhj6azhavgjklanhihjr";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "CLucene is a port of the very popular Java Lucene text search engine API. Core package.";
|
||||
homepage = http://clucene.sourceforge.net;
|
||||
};
|
||||
configureFlags = "--disable-static";
|
||||
}
|
||||
20
pkgs/development/libraries/strigi/default.nix
Normal file
20
pkgs/development/libraries/strigi/default.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchurl, zlib, bzip2, expat, pkgconfig, cluceneCore, cluceneContrib,
|
||||
qt, cmake, dbus, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "strigi-0.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.chg.ru/pub/sourceforge/s/st/strigi/strigi-0.5.1.tar.bz2;
|
||||
sha256 = "0n9ffqxdmz6ibki8rmac298z27937jddp7khmg2q8p15pnl5dq7i";
|
||||
};
|
||||
|
||||
patchPhase="sed -e 's/ iconv / /' -i ../cmake/FindIconv.cmake;
|
||||
export CLUCENE_HOME=${cluceneCore}";
|
||||
buildInputs = [zlib cluceneCore cluceneContrib expat bzip2 pkgconfig qt cmake
|
||||
stdenv.gcc.libc dbus libxml2];
|
||||
|
||||
meta = {
|
||||
description = "Strigi is a fast and light desktop search engine";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user