2020-04-07 21:31:58 +01:00
|
|
|
{ mkDerivation, stdenv, fetchurl, cmake, pkgconfig, sword, boost, clucene_core
|
2019-11-07 14:03:59 +00:00
|
|
|
, qtbase, qttools, qtsvg, qtwebkit
|
|
|
|
}:
|
2010-11-03 20:42:26 +00:00
|
|
|
|
2020-04-07 21:31:58 +01:00
|
|
|
mkDerivation rec {
|
2010-11-03 20:42:26 +00:00
|
|
|
|
2019-11-07 14:03:59 +00:00
|
|
|
version = "2.11.2";
|
2010-11-03 20:42:26 +00:00
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bibletime";
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz";
|
2019-11-07 14:03:59 +00:00
|
|
|
sha256 = "1s5bvmwbz1gyp3ml8sghpc00h8nhdvx2iyq96iri30kwx1y1jy6i";
|
2010-11-03 20:42:26 +00:00
|
|
|
};
|
2011-09-13 21:52:25 +01:00
|
|
|
|
2019-11-07 14:03:59 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
sword boost clucene_core
|
|
|
|
qtbase qttools qtsvg qtwebkit
|
|
|
|
];
|
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};
|
|
|
|
'';
|
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
cmakeFlags = [ "-DUSE_QT_WEBKIT=ON" "-DCMAKE_BUILD_TYPE=Debug" ];
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Qt4 Bible study tool";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.bibletime.info/";
|
2010-11-03 20:42:26 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|