2011-08-26 15:49:23 +02:00
|
|
|
{stdenv, fetchurl, cmake, sword, qt4, boost, cluceneCore}:
|
2010-11-03 21:42:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
version = "2.7.3";
|
|
|
|
|
|
|
|
name = "bibletime-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-26 15:49:23 +02:00
|
|
|
url = "mirror://sourceforge/bibletime/${name}.tar.bz2";
|
2010-11-03 21:42:26 +01:00
|
|
|
sha256 = "0171hlwg4rjv93b3gwcyv3nsj2kzwf4n8f6jw6ld18x7xmk9rkdg";
|
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .;
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export CLUCENE_HOME=${cluceneCore};
|
|
|
|
export SWORD_HOME=${sword};
|
|
|
|
'';
|
|
|
|
|
2011-08-26 15:49:23 +02:00
|
|
|
buildInputs = [ cmake sword qt4 boost cluceneCore ];
|
2010-11-03 21:42:26 +01:00
|
|
|
|
|
|
|
cmakeFlags = "-DUSE_QT_WEBKIT=ON -DCMAKE_BUILD_TYPE=Debug";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Qt4 Bible study tool";
|
|
|
|
homepage = http://www.bibletime.info/;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
license = "GPLv2";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|