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 22:26:27 +01:00
|
|
|
|
2019-11-13 05:13:48 +00:00
|
|
|
mkDerivation rec {
|
2014-04-22 22:26:27 +01:00
|
|
|
pname = "texstudio";
|
2021-02-04 19:58:36 +00:00
|
|
|
version = "3.0.4";
|
2014-04-22 22:26:27 +01:00
|
|
|
|
2018-04-10 19:19:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-02-04 19:58:36 +00:00
|
|
|
sha256 = "03q1mdz47crflkvpc364ky52farad7517jhszb1fg1s3c2bnndn0";
|
2014-04-22 22:26:27 +01: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 22:26:27 +01:00
|
|
|
|
2016-04-17 00:27:11 +01:00
|
|
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
2014-04-22 22:26:27 +01:00
|
|
|
|
2019-11-13 05:13:48 +00:00
|
|
|
meta = with lib; {
|
2014-04-23 11:09:25 +01: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 22:26:27 +01: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 22:26:27 +01:00
|
|
|
};
|
|
|
|
}
|