1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

added bibletime - a Bible study tool

svn path=/nixpkgs/trunk/; revision=24587
This commit is contained in:
Piotr Pietraszkiewicz 2010-11-03 20:42:26 +00:00
parent f540277f97
commit be71209dd3
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{stdenv, fetchurl, cmake, sword, qt, boost, cluceneCore}:
stdenv.mkDerivation rec {
version = "2.7.3";
name = "bibletime-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/bibletime/BibleTime%202/BibleTime%202%20source%20code/${name}.tar.bz2";
sha256 = "0171hlwg4rjv93b3gwcyv3nsj2kzwf4n8f6jw6ld18x7xmk9rkdg";
};
prePatch = ''
patchShebangs .;
'';
preConfigure = ''
export CLUCENE_HOME=${cluceneCore};
export SWORD_HOME=${sword};
'';
buildInputs = [ cmake sword qt boost cluceneCore ];
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";
};
}

View file

@ -5278,6 +5278,10 @@ let
inherit (gnome) libgnomecanvas libart_lgpl;
};
bibletime = newScope pkgs.kde45 ../applications/misc/bibletime {
qt = qt4;
} ;
bitlbee = callPackage ../applications/networking/instant-messengers/bitlbee { };
bitlbeeOtr = callPackage ../applications/networking/instant-messengers/bitlbee-otr { };