diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/documentation')
3 files changed, 15 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/tools/documentation/antora/default.nix b/nixpkgs/pkgs/development/tools/documentation/antora/default.nix index 6ac43313e962..34625022df6b 100644 --- a/nixpkgs/pkgs/development/tools/documentation/antora/default.nix +++ b/nixpkgs/pkgs/development/tools/documentation/antora/default.nix @@ -26,6 +26,7 @@ buildNpmPackage rec { meta = with lib; { description = "A modular documentation site generator. Designed for users of Asciidoctor."; + mainProgram = "antora"; homepage = "https://antora.org"; license = licenses.mpl20; maintainers = [ maintainers.ehllie ]; diff --git a/nixpkgs/pkgs/development/tools/documentation/doxygen/default.nix b/nixpkgs/pkgs/development/tools/documentation/doxygen/default.nix index ddf27b35dbd0..35fcdc709521 100644 --- a/nixpkgs/pkgs/development/tools/documentation/doxygen/default.nix +++ b/nixpkgs/pkgs/development/tools/documentation/doxygen/default.nix @@ -2,12 +2,14 @@ , stdenv , cmake , fetchFromGitHub +, fetchpatch , python3 , flex , bison , qt5 , CoreServices , libiconv +, spdlog , sqlite }: @@ -22,6 +24,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-FPI5ICdn9Tne/g9SP6jAQS813AAyoDNooDR/Hyvq6R4="; }; + patches = [ + (fetchpatch { + name = "sys-spdlog-fix.patch"; + url = "https://github.com/doxygen/doxygen/commit/0df6da616f01057d28b11c8bee28443c102dd424.patch"; + hash = "sha256-7efkCQFYGslwqhIuPsLYTEiA1rq+mO0DuyQBMt0O+m0="; + }) + ]; + nativeBuildInputs = [ cmake python3 @@ -29,12 +39,13 @@ stdenv.mkDerivation rec { bison ]; - buildInputs = [ libiconv sqlite ] + buildInputs = [ libiconv spdlog sqlite ] ++ lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ]) ++ lib.optionals stdenv.isDarwin [ CoreServices ]; cmakeFlags = [ "-DICONV_INCLUDE_DIR=${libiconv}/include" + "-Duse_sys_spdlog=ON" "-Duse_sys_sqlite3=ON" ] ++ lib.optional (qt5 != null) "-Dbuild_wizard=YES"; @@ -52,6 +63,7 @@ stdenv.mkDerivation rec { homepage = "https://www.doxygen.nl/"; changelog = "https://www.doxygen.nl/manual/changelog.html"; description = "Source code documentation generator tool"; + mainProgram = "doxygen"; longDescription = '' Doxygen is the de facto standard tool for generating documentation from diff --git a/nixpkgs/pkgs/development/tools/documentation/gi-docgen/default.nix b/nixpkgs/pkgs/development/tools/documentation/gi-docgen/default.nix index bed660615179..b2652f6ca9fd 100644 --- a/nixpkgs/pkgs/development/tools/documentation/gi-docgen/default.nix +++ b/nixpkgs/pkgs/development/tools/documentation/gi-docgen/default.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Documentation generator for GObject-based libraries"; + mainProgram = "gi-docgen"; homepage = "https://gitlab.gnome.org/GNOME/gi-docgen"; license = licenses.asl20; # OR GPL-3.0-or-later maintainers = teams.gnome.members; |