2020-04-07 22:31:58 +02:00
|
|
|
{ mkDerivation, stdenv, fetchurl, cmake, pkgconfig, sword, boost, clucene_core
|
2019-11-07 15:03:59 +01:00
|
|
|
, qtbase, qttools, qtsvg, qtwebkit
|
|
|
|
}:
|
2010-11-03 21:42:26 +01:00
|
|
|
|
2020-04-07 22:31:58 +02:00
|
|
|
mkDerivation rec {
|
2010-11-03 21:42:26 +01:00
|
|
|
|
2019-11-07 15:03:59 +01:00
|
|
|
version = "2.11.2";
|
2010-11-03 21:42:26 +01:00
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bibletime";
|
2010-11-03 21:42:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz";
|
2019-11-07 15:03:59 +01:00
|
|
|
sha256 = "1s5bvmwbz1gyp3ml8sghpc00h8nhdvx2iyq96iri30kwx1y1jy6i";
|
2010-11-03 21:42:26 +01:00
|
|
|
};
|
2011-09-13 22:52:25 +02:00
|
|
|
|
2019-11-07 15:03:59 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [
|
|
|
|
sword boost clucene_core
|
|
|
|
qtbase qttools qtsvg qtwebkit
|
|
|
|
];
|
2010-11-03 21:42:26 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
2013-12-23 11:35:35 +01:00
|
|
|
export CLUCENE_HOME=${clucene_core};
|
2010-11-03 21:42:26 +01:00
|
|
|
export SWORD_HOME=${sword};
|
|
|
|
'';
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
cmakeFlags = [ "-DUSE_QT_WEBKIT=ON" "-DCMAKE_BUILD_TYPE=Debug" ];
|
2010-11-03 21:42:26 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Qt4 Bible study tool";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.bibletime.info/";
|
2010-11-03 21:42:26 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2011-09-13 22:52:25 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.piotr ];
|
2010-11-03 21:42:26 +01:00
|
|
|
};
|
|
|
|
}
|