1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/applications/misc/bibletime/default.nix

35 lines
787 B
Nix

{stdenv, fetchurl, cmake, sword, qt4, boost, clucene_core}:
stdenv.mkDerivation rec {
version = "2.9.2";
name = "bibletime-${version}";
src = fetchurl {
url = "mirror://sourceforge/bibletime/${name}.tar.bz2";
sha256 = "1j4kc24qvhqlbqspczmkxvw09mnvgg9m4zs1y9f68505kd0pfg1r";
};
prePatch = ''
patchShebangs .;
'';
preConfigure = ''
export CLUCENE_HOME=${clucene_core};
export SWORD_HOME=${sword};
'';
buildInputs = [ cmake sword qt4 boost clucene_core ];
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;
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.piotr ];
};
}