2019-11-13 05:13:48 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
|
2019-11-16 05:13:25 +00:00
|
|
|
wrapQtAppsHook, poppler, zlib, pkgconfig }:
|
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";
|
2020-01-15 00:57:26 +00:00
|
|
|
version = "2.12.20";
|
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;
|
2020-01-15 00:57:26 +00:00
|
|
|
sha256 = "0hywx2knqdrslzmm4if476ryf4ma0aw5j8kdp6lyrz2jx7az2gqa";
|
2014-04-22 22:26:27 +01:00
|
|
|
};
|
|
|
|
|
2019-11-16 05:13:25 +00:00
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook pkgconfig ];
|
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.
|
|
|
|
'';
|
2017-04-09 21:17:55 +01:00
|
|
|
homepage = http://texstudio.sourceforge.net;
|
2014-04-22 22:26:27 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2018-02-10 00:10:14 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2014-04-23 13:37:00 +01:00
|
|
|
maintainers = with maintainers; [ cfouche ];
|
2014-04-22 22:26:27 +01:00
|
|
|
};
|
|
|
|
}
|