Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
79 lines
1.5 KiB
Nix
79 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
boost,
|
|
clucene_core_2,
|
|
cmake,
|
|
docbook_xml_dtd_45,
|
|
docbook_xsl_ns,
|
|
fetchFromGitHub,
|
|
gettext,
|
|
libxslt,
|
|
perlPackages,
|
|
pkg-config,
|
|
qt6,
|
|
stdenv,
|
|
sword,
|
|
}:
|
|
|
|
let
|
|
inherit (qt6)
|
|
qtbase
|
|
qtsvg
|
|
qttools
|
|
wrapQtAppsHook
|
|
;
|
|
in
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "bibletime";
|
|
version = "3.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bibletime";
|
|
repo = "bibletime";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-kYQjkwfWsEijJ/umOylnfvHgv4u16xr3pkr3ALN4O8c=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
docbook_xml_dtd_45
|
|
gettext
|
|
libxslt
|
|
pkg-config
|
|
wrapQtAppsHook
|
|
perlPackages.Po4a
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
clucene_core_2
|
|
qtbase
|
|
qtsvg
|
|
qttools
|
|
sword
|
|
];
|
|
|
|
preConfigure = ''
|
|
export CLUCENE_HOME=${clucene_core_2};
|
|
export SWORD_HOME=${sword};
|
|
'';
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "BUILD_HOWTO_PDF" false)
|
|
(lib.cmakeBool "BUILD_HANDBOOK_PDF" false)
|
|
(lib.cmakeFeature "BT_DOCBOOK_XSL_HTML_CHUNK_XSL" "${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl")
|
|
(lib.cmakeFeature "BT_DOCBOOK_XSL_PDF_DOCBOOK_XSL" "${docbook_xsl_ns}/share/xml/docbook-xsl-ns/html/chunk.xsl")
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
homepage = "http://www.bibletime.info/";
|
|
description = "Powerful cross platform Bible study tool";
|
|
license = lib.licenses.gpl2Plus;
|
|
mainProgram = "bibletime";
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|