Merge pull request #172894 from armeenm/fix-bibletime

bibletime: fix
main
Jörg Thalheim 2 years ago committed by GitHub
commit 8f8f328641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 46
      pkgs/applications/misc/bibletime/default.nix

@ -1,29 +1,49 @@
{ lib, mkDerivation, fetchurl, cmake, pkg-config, sword, boost, clucene_core { lib, mkDerivation
, qtbase, qttools, qtsvg, perlPackages, docbook_xml_dtd_45 , fetchFromGitHub
, docbook_xsl_ns }: , cmake
, docbook_xml_dtd_45
, pkg-config
, wrapQtAppsHook
, boost
, clucene_core_2
, docbook_xsl_ns
, perlPackages
, qtbase
, qtsvg
, qttools
, sword
}:
mkDerivation rec { mkDerivation rec {
pname = "bibletime"; pname = "bibletime";
version = "3.0.2"; version = "3.0.2";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/bibletime/bibletime/releases/download/v${version}/${pname}-${version}.tar.xz"; owner = "bibletime";
sha256 = "sha256-/JNjnU/DGD4YRtrKzX7t6MgNCZYihdgTJc+Jbr9IYJ4="; repo = "bibletime";
rev = "v${version}";
hash = "sha256-8X5LkquALFnG0yRayZYjeymHDcOzINBv0MXeVBsOnfI=";
}; };
nativeBuildInputs = [ cmake pkg-config docbook_xml_dtd_45 ]; nativeBuildInputs = [
cmake
docbook_xml_dtd_45
pkg-config
wrapQtAppsHook
];
buildInputs = [ buildInputs = [
sword
boost boost
clucene_core clucene_core_2
perlPackages.Po4a
qtbase qtbase
qttools
qtsvg qtsvg
perlPackages.Po4a qttools
sword
]; ];
preConfigure = '' preConfigure = ''
export CLUCENE_HOME=${clucene_core}; export CLUCENE_HOME=${clucene_core_2};
export SWORD_HOME=${sword}; export SWORD_HOME=${sword};
''; '';
@ -35,7 +55,7 @@ mkDerivation rec {
]; ];
meta = with lib; { meta = with lib; {
description = "A Qt4 Bible study tool"; description = "A powerful cross platform Bible study tool";
homepage = "http://www.bibletime.info/"; homepage = "http://www.bibletime.info/";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;

Loading…
Cancel
Save