2011-07-07 18:23:38 +00:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, perl, bzip2, libxml2, exiv2
|
2012-01-02 11:16:48 +00:00
|
|
|
, clucene_core, fam, zlib, dbus_tools, pkgconfig
|
2010-08-02 17:12:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-10-25 05:20:44 +00:00
|
|
|
name = "strigi-${version}";
|
2013-05-25 08:42:27 +00:00
|
|
|
version = "0.7.8";
|
2010-10-25 05:20:44 +00:00
|
|
|
|
2010-08-02 17:12:39 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.vandenoever.info/software/strigi/${name}.tar.bz2";
|
2013-05-25 08:42:27 +00:00
|
|
|
sha256 = "12grxzqwnvbyqw7q1gnz42lypadxmq89vk2qpxczmpmc4nk63r23";
|
2010-08-02 17:12:39 +00:00
|
|
|
};
|
2011-07-07 18:23:38 +00:00
|
|
|
|
2011-09-05 23:26:06 +00:00
|
|
|
includeAllQtDirs = true;
|
2011-02-22 11:54:49 +00:00
|
|
|
|
2011-07-07 18:23:38 +00:00
|
|
|
CLUCENE_HOME = clucene_core;
|
2011-02-22 11:54:49 +00:00
|
|
|
|
2011-07-07 18:23:38 +00:00
|
|
|
buildInputs =
|
2014-12-17 18:11:30 +00:00
|
|
|
[ zlib bzip2 stdenv.cc.libc libxml2 qt4 exiv2 clucene_core fam dbus_tools ];
|
2012-01-02 11:16:48 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
2010-08-02 17:12:39 +00:00
|
|
|
|
2013-07-15 00:08:26 +00:00
|
|
|
patches = [ ./export_bufferedstream.patch ];
|
|
|
|
|
2011-07-07 20:48:06 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2010-08-02 17:12:39 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://strigi.sourceforge.net;
|
|
|
|
description = "A very fast and efficient crawler to index data on your harddrive";
|
|
|
|
license = "LGPL";
|
2010-08-11 12:24:12 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
|
|
|
inherit (qt4.meta) platforms;
|
2010-08-02 17:12:39 +00:00
|
|
|
};
|
|
|
|
}
|