2021-01-25 08:26:54 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, cmake, pkg-config, 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 20:31:58 +00: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 12:41:18 +00:00
|
|
|
pname = "bibletime";
|
2010-11-03 20:42:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00: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 20:52:25 +00:00
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-11-07 14:03:59 +00:00
|
|
|
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 01:11:51 +00:00
|
|
|
homepage = "http://www.bibletime.info/";
|
2021-01-15 05:42:41 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.piotr ];
|
2010-11-03 20:42:26 +00:00
|
|
|
};
|
|
|
|
}
|