2020-04-24 23:36:52 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
|
2021-02-05 17:12:51 +00:00
|
|
|
wrapQtAppsHook, poppler, zlib, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "texstudio";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "4.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-MZz8DQT1f6RU+euEED1bbg2MsaqC6+W3RoMk2qfIjr4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ qtbase qtscript qtsvg poppler zlib ];
|
|
|
|
|
|
|
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
|
|
|
Fork of TeXMaker, this editor is a full fledged IDE for
|
|
|
|
LaTeX editing with completion, structure viewer, preview,
|
|
|
|
spell checking and support of any compilation chain.
|
|
|
|
'';
|
2021-01-05 17:05:55 +00:00
|
|
|
homepage = "https://texstudio.org";
|
|
|
|
changelog = "https://github.com/texstudio-org/texstudio/blob/${version}/utilities/manual/CHANGELOG.txt";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2021-01-05 17:05:55 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ ajs124 cfouche ];
|
|
|
|
};
|
|
|
|
}
|