bibletime: fix
This commit is contained in:
parent
6896ebd60f
commit
c83cee0d4d
1 changed files with 34 additions and 14 deletions
|
@ -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
|
||||||
qtbase
|
|
||||||
qttools
|
|
||||||
qtsvg
|
|
||||||
perlPackages.Po4a
|
perlPackages.Po4a
|
||||||
|
qtbase
|
||||||
|
qtsvg
|
||||||
|
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…
Reference in a new issue