2017-05-15 18:05:35 +01:00
|
|
|
{
|
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules, docbook_xml_dtd_45, docbook5_xsl,
|
|
|
|
karchive, ki18n, perl, perlPackages
|
2016-04-21 16:32:21 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "kdoctools";
|
2016-04-28 16:52:09 +01:00
|
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2016-04-28 16:52:09 +01:00
|
|
|
propagatedBuildInputs = [ karchive ki18n ];
|
2016-07-15 15:59:21 +01:00
|
|
|
propagatedNativeBuildInputs = [ perl perlPackages.URI ];
|
2016-04-21 16:32:21 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
|
|
|
|
"-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook"
|
|
|
|
];
|
|
|
|
patches = [ ./kdoctools-no-find-docbook-xml.patch ];
|
|
|
|
}
|