lol

gz-utils: output doxygen documentation

+14
+14
pkgs/by-name/gz/gz-utils/package.nix
··· 6 # nativeBuildInputs 7 cmake, 8 gz-cmake, 9 10 # buildInputs 11 cli11, ··· 27 tag = "gz-utils${lib.versions.major finalAttrs.version}_${finalAttrs.version}"; 28 hash = "sha256-fYzysdB608jfMb/EbqiGD4hXmPxcaVTUrt9Wx0dBlto="; 29 }; 30 31 # Remove vendored gtest, use nixpkgs' version instead. 32 postPatch = '' ··· 39 nativeBuildInputs = [ 40 cmake 41 gz-cmake 42 ]; 43 44 buildInputs = [ ··· 52 cmakeFlags = [ 53 (lib.cmakeBool "GZ_UTILS_VENDOR_CLI11" false) 54 ]; 55 56 nativeCheckInputs = [ python3 ]; 57
··· 6 # nativeBuildInputs 7 cmake, 8 gz-cmake, 9 + doxygen, 10 + graphviz, 11 12 # buildInputs 13 cli11, ··· 29 tag = "gz-utils${lib.versions.major finalAttrs.version}_${finalAttrs.version}"; 30 hash = "sha256-fYzysdB608jfMb/EbqiGD4hXmPxcaVTUrt9Wx0dBlto="; 31 }; 32 + 33 + outputs = [ 34 + "doc" 35 + "out" 36 + ]; 37 38 # Remove vendored gtest, use nixpkgs' version instead. 39 postPatch = '' ··· 46 nativeBuildInputs = [ 47 cmake 48 gz-cmake 49 + doxygen 50 + graphviz 51 ]; 52 53 buildInputs = [ ··· 61 cmakeFlags = [ 62 (lib.cmakeBool "GZ_UTILS_VENDOR_CLI11" false) 63 ]; 64 + 65 + postBuild = '' 66 + make doc 67 + cp -r doxygen/html $doc 68 + ''; 69 70 nativeCheckInputs = [ python3 ]; 71