1 { stdenv, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qt5compat, quazip
4 , wrapQtAppsHook, poppler, zlib, pkg-config }:
6 stdenv.mkDerivation (finalAttrs: {
10 src = fetchFromGitHub {
11 owner = "texstudio-org";
13 rev = finalAttrs.version;
14 hash = "sha256-hAuNjlFr23l5ztfoa2RTHKZtH2aXF1EuWTd/ZyKuyHg=";
31 ] ++ lib.optionals stdenv.isLinux [
35 postInstall = lib.optionalString stdenv.isDarwin ''
36 mkdir -p "$out/Applications"
37 mv "$out/bin/texstudio.app" "$out/Applications"
42 description = "TeX and LaTeX editor";
44 Fork of TeXMaker, this editor is a full fledged IDE for
45 LaTeX editing with completion, structure viewer, preview,
46 spell checking and support of any compilation chain.
48 homepage = "https://texstudio.org";
49 changelog = "https://github.com/texstudio-org/texstudio/blob/${finalAttrs.version}/utilities/manual/CHANGELOG.txt";
50 license = licenses.gpl2Plus;
51 platforms = platforms.unix;
52 maintainers = with maintainers; [ ajs124 cfouche ];
53 mainProgram = "texstudio";