19 lines
568 B
Nix
19 lines
568 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules, docbook_xml_dtd_45, docbook5_xsl,
|
|
karchive, ki18n, perl, perlPackages
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kdoctools";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
propagatedBuildInputs = [ karchive ki18n ];
|
|
propagatedNativeBuildInputs = [ perl perlPackages.URI ];
|
|
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 ];
|
|
}
|