2013-12-23 10:35:35 +00:00
|
|
|
{stdenv, fetchurl, cmake, sword, qt4, boost, clucene_core}:
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2013-12-18 12:21:54 +00:00
|
|
|
version = "2.9.2";
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
name = "bibletime-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-26 14:49:23 +01:00
|
|
|
url = "mirror://sourceforge/bibletime/${name}.tar.bz2";
|
2013-12-18 12:21:54 +00:00
|
|
|
sha256 = "1j4kc24qvhqlbqspczmkxvw09mnvgg9m4zs1y9f68505kd0pfg1r";
|
2010-11-03 20:42:26 +00:00
|
|
|
};
|
2011-09-13 21:52:25 +01:00
|
|
|
|
2010-11-03 20:42:26 +00:00
|
|
|
prePatch = ''
|
|
|
|
patchShebangs .;
|
|
|
|
'';
|
|
|
|
|
|
|
|
preConfigure = ''
|
2013-12-23 10:35:35 +00:00
|
|
|
export CLUCENE_HOME=${clucene_core};
|
2010-11-03 20:42:26 +00:00
|
|
|
export SWORD_HOME=${sword};
|
|
|
|
'';
|
|
|
|
|
2013-12-23 10:35:35 +00:00
|
|
|
buildInputs = [ cmake sword qt4 boost clucene_core ];
|
2010-11-03 20:42:26 +00: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";
|
2011-09-13 21:52:25 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-11-03 20:42:26 +00:00
|
|
|
};
|
|
|
|
}
|