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 {
|
|
|
|
|
2014-08-08 21:27:57 +01:00
|
|
|
version = "2.10.1";
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
name = "bibletime-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-08 21:27:57 +01:00
|
|
|
url = "mirror://sourceforge/bibletime/${name}.tar.xz";
|
|
|
|
sha256 = "14fayy5h1ffjxin669q56fflxn4ij1irgn60cygwx2y02cwxbll6";
|
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 = ''
|
2015-01-08 09:26:49 +00:00
|
|
|
patchShebangs .;
|
2010-11-03 20:42:26 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2011-09-13 21:52:25 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-11-03 20:42:26 +00:00
|
|
|
};
|
|
|
|
}
|