2019-11-13 05:13:48 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
|
2021-01-19 06:50:56 +00:00
|
|
|
wrapQtAppsHook, poppler, zlib, pkg-config }:
|
2014-04-22 21:26:27 +00:00
|
|
|
|
2019-11-13 05:13:48 +00:00
|
|
|
mkDerivation rec {
|
2014-04-22 21:26:27 +00:00
|
|
|
pname = "texstudio";
|
2020-12-29 20:50:42 +00:00
|
|
|
version = "3.0.3";
|
2014-04-22 21:26:27 +00:00
|
|
|
|
2018-04-10 18:19:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-29 20:50:42 +00:00
|
|
|
sha256 = "05q70wbdaldhrlapss4agmvz1cwqd229nd5amkj069v1wxrkvpb7";
|
2014-04-22 21:26:27 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
|
2019-11-13 05:13:48 +00:00
|
|
|
buildInputs = [ qtbase qtscript qtsvg poppler zlib ];
|
2014-04-22 21:26:27 +00:00
|
|
|
|
2016-04-16 23:27:11 +00:00
|
|
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
2014-04-22 21:26:27 +00:00
|
|
|
|
2019-11-13 05:13:48 +00:00
|
|
|
meta = with lib; {
|
2014-04-23 10:09:25 +00:00
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
2020-01-15 00:57:26 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-12-29 20:50:42 +00:00
|
|
|
homepage = "https://texstudio.org";
|
|
|
|
changelog = "https://github.com/texstudio-org/texstudio/blob/${version}/utilities/manual/CHANGELOG.txt";
|
2014-04-22 21:26:27 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-12-29 20:50:42 +00:00
|
|
|
platforms = platforms.linux;
|
2020-02-06 02:51:03 +00:00
|
|
|
maintainers = with maintainers; [ ajs124 cfouche ];
|
2014-04-22 21:26:27 +00:00
|
|
|
};
|
|
|
|
}
|