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";
|
2022-01-11 12:15:51 +00:00
|
|
|
version = "4.2.0";
|
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;
|
2022-01-11 12:15:51 +00:00
|
|
|
sha256 = "sha256-L3r71srvdSsCc1HZcu6lsH+oTJQ7TatVd2Oy3meAVYk=";
|
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
|
|
|
};
|
|
|
|
}
|