3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/bibletime/default.nix
Piotr Pietraszkiewicz 4d611bf817 bibletime-2.8.1 + made myself a maintainer
svn path=/nixpkgs/trunk/; revision=29258
2011-09-13 20:52:25 +00:00

35 lines
784 B
Nix

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