1 { lib, mkDerivation, fetchurl, qtbase, qtscript, qtwebengine, qmake, zlib, pkg-config, poppler, wrapGAppsHook3 }:
8 url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-MgUE1itxtZHAa30LEgKsdQoxEv4soyjjBYAFXrMI/qY=";
12 buildInputs = [ qtbase qtscript poppler zlib qtwebengine ];
13 nativeBuildInputs = [ pkg-config poppler qmake wrapGAppsHook3 ];
14 env.NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
17 "DESKTOPDIR=${placeholder "out"}/share/applications"
18 "ICONDIR=${placeholder "out"}/share/pixmaps"
19 "METAINFODIR=${placeholder "out"}/share/metainfo"
25 qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
29 description = "TeX and LaTeX editor";
31 This editor is a full fledged IDE for TeX and
32 LaTeX editing with completion, structure viewer, preview,
33 spell checking and support of any compilation chain.
35 homepage = "http://www.xm1math.net/texmaker/";
36 license = licenses.gpl2Plus;
37 platforms = platforms.linux;
38 maintainers = with maintainers; [ cfouche markuskowa ];
39 mainProgram = "texmaker";