mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge pull request #125162 from andreoss/master
bibletime: 2.11.2 -> 3.0
This commit is contained in:
commit
5c0c8d2704
1 changed files with 23 additions and 12 deletions
|
@ -1,36 +1,47 @@
|
|||
{ lib, mkDerivation, fetchurl, cmake, pkg-config, sword, boost, clucene_core
|
||||
, qtbase, qttools, qtsvg, qtwebkit
|
||||
}:
|
||||
, qtbase, qttools, qtsvg, perlPackages, docbook_xml_dtd_45
|
||||
, docbook_xsl_ns }:
|
||||
|
||||
mkDerivation rec {
|
||||
|
||||
version = "2.11.2";
|
||||
version = "3.0";
|
||||
|
||||
pname = "bibletime";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz";
|
||||
sha256 = "1s5bvmwbz1gyp3ml8sghpc00h8nhdvx2iyq96iri30kwx1y1jy6i";
|
||||
url =
|
||||
"https://github.com/bibletime/bibletime/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "08i6nb9a7z0jpsq76q0kr62hw6ph9chqjpjcvkimbcj4mmifzgnn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
nativeBuildInputs = [ cmake pkg-config docbook_xml_dtd_45 ];
|
||||
buildInputs = [
|
||||
sword boost clucene_core
|
||||
qtbase qttools qtsvg qtwebkit
|
||||
];
|
||||
sword
|
||||
boost
|
||||
clucene_core
|
||||
qtbase
|
||||
qttools
|
||||
qtsvg
|
||||
perlPackages.Po4a
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
preConfigure = ''
|
||||
export CLUCENE_HOME=${clucene_core};
|
||||
export SWORD_HOME=${sword};
|
||||
'';
|
||||
|
||||
cmakeFlags = [ "-DUSE_QT_WEBKIT=ON" "-DCMAKE_BUILD_TYPE=Debug" ];
|
||||
cmakeFlags = [
|
||||
"-DBUILD_HOWTO_PDF=OFF"
|
||||
"-DBUILD_HANDBOOK_PDF=OFF"
|
||||
"-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl"
|
||||
"-DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A Qt4 Bible study tool";
|
||||
homepage = "http://www.bibletime.info/";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.piotr ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue