diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/bibletime/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/bibletime/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/bibletime/default.nix b/nixpkgs/pkgs/applications/misc/bibletime/default.nix new file mode 100644 index 000000000000..a3f0a3b84f23 --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/bibletime/default.nix @@ -0,0 +1,34 @@ +{stdenv, fetchurl, cmake, sword, qt4, boost, clucene_core}: + +stdenv.mkDerivation rec { + + version = "2.10.1"; + + pname = "bibletime"; + + src = fetchurl { + url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz"; + sha256 = "14fayy5h1ffjxin669q56fflxn4ij1irgn60cygwx2y02cwxbll6"; + }; + + 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 = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.piotr ]; + }; +} |