Author: piotr
Date: Wed Nov  3 20:42:26 2010
New Revision: 24587
URL: https://svn.nixos.org/websvn/nix/?rev=24587&sc=1

Log:
added bibletime - a Bible study tool

Added:
   nixpkgs/trunk/pkgs/applications/misc/bibletime/
   nixpkgs/trunk/pkgs/applications/misc/bibletime/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/applications/misc/bibletime/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/misc/bibletime/default.nix  Wed Nov  3 
20:42:26 2010        (r24587)
@@ -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";
+  };
+
+}
+

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Nov  3 20:36:36 
2010        (r24586)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Nov  3 20:42:26 
2010        (r24587)
@@ -5278,6 +5278,10 @@
     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 { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to