nixpkgs/pkgs/applications/misc/bibletime/default.nix

37 lines
868 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, cmake, pkg-config, sword, boost, clucene_core
2019-11-07 14:03:59 +00:00
, qtbase, qttools, qtsvg, qtwebkit
}:
2020-04-07 20:31:58 +00:00
mkDerivation rec {
2019-11-07 14:03:59 +00:00
version = "2.11.2";
pname = "bibletime";
src = fetchurl {
url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz";
2019-11-07 14:03:59 +00:00
sha256 = "1s5bvmwbz1gyp3ml8sghpc00h8nhdvx2iyq96iri30kwx1y1jy6i";
};
nativeBuildInputs = [ cmake pkg-config ];
2019-11-07 14:03:59 +00:00
buildInputs = [
sword boost clucene_core
qtbase qttools qtsvg qtwebkit
];
preConfigure = ''
export CLUCENE_HOME=${clucene_core};
export SWORD_HOME=${sword};
'';
cmakeFlags = [ "-DUSE_QT_WEBKIT=ON" "-DCMAKE_BUILD_TYPE=Debug" ];
meta = {
description = "A Qt4 Bible study tool";
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 ];
};
}