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