3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/kde-frameworks/kdoctools/default.nix

26 lines
730 B
Nix
Raw Normal View History

{
mkDerivation, lib,
extra-cmake-modules, docbook_xml_dtd_45, docbook5_xsl,
karchive, ki18n, qtbase,
perl, perlPackages
2016-04-21 16:32:21 +01:00
}:
mkDerivation {
2016-04-21 16:32:21 +01:00
name = "kdoctools";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
2016-07-15 15:59:21 +01:00
propagatedNativeBuildInputs = [ perl perlPackages.URI ];
buildInputs = [ karchive ki18n ];
propagatedBuildInputs = [ qtbase ];
outputs = [ "out" "dev" ];
patches = [ ./kdoctools-no-find-docbook-xml.patch ];
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"
];
postFixup = ''
moveToOutput "share/doc" "$dev"
moveToOutput "share/man" "$dev"
'';
2016-04-21 16:32:21 +01:00
}