20 # The build system insists on having native Perl.
24 propagatedBuildInputs = [
25 # kdoctools at runtime actually needs Perl for the platform kdoctools is
26 # running on, not necessarily native perl.
40 [ ./kdoctools-no-find-docbook-xml.patch ]
41 # kf.doctools.core: Error: Could not find kdoctools catalogs
42 ++ lib.optionals stdenv.hostPlatform.isDarwin [
44 name = "kdoctools-relocate-datapath.patch";
45 url = "https://github.com/msys2/MINGW-packages/raw/0900785a1f4e4146ab9561fb92a1c70fa70fcfc4/mingw-w64-kdoctools-qt5/0001-kdoctools-relocate-datapath.patch";
46 hash = "sha256-MlokdrabXavWHGXYmdz9zZDJQIwAdNxebJBSAH2Z3vI=";
50 "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
51 "-DDocBookXSL_DIR=${docbook_xsl_ns}/xml/xsl/docbook"
54 moveToOutput "share/doc" "$dev"
55 moveToOutput "share/man" "$dev"