fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }:
2
3stdenv.mkDerivation rec {
4 pname = "doxygen";
5 version = "1.9.5";
6
7 src = fetchFromGitHub {
8 owner = "doxygen";
9 repo = "doxygen";
10 rev = "Release_${lib.replaceStrings [ "." ] [ "_" ] version}";
11 sha256 = "sha256-968LGj2b8qLs/YQ1DxC1s/xf5qUwnrd8xu5iKrqNN+Y=";
12 };
13
14 nativeBuildInputs = [
15 cmake
16 python3
17 flex
18 bison
19 ];
20
21 buildInputs =
22 lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ])
23 ++ lib.optional stdenv.isSunOS libiconv
24 ++ lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
25
26 cmakeFlags =
27 [ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++
28 lib.optional (qt5 != null) "-Dbuild_wizard=YES";
29
30 NIX_CFLAGS_COMPILE =
31 lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9";
32
33 meta = {
34 license = lib.licenses.gpl2Plus;
35 homepage = "https://www.doxygen.nl/";
36 changelog = "https://www.doxygen.nl/manual/changelog.html";
37 description = "Source code documentation generator tool";
38
39 longDescription = ''
40 Doxygen is the de facto standard tool for generating documentation from
41 annotated C++ sources, but it also supports other popular programming
42 languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba,
43 Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL and to some extent
44 D. It can generate an on-line documentation browser (in HTML) and/or an
45 off-line reference manual (in LaTeX) from a set of documented source
46 files.
47 '';
48
49 platforms = if qt5 != null then lib.platforms.linux else lib.platforms.unix;
50 };
51}