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";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "4.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-zsZBqheHrjd17pXDIG0qWd7KI/zhNl3sQS5No0WvnBY=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|