2019-11-12 21:13:48 -08:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
|
2019-11-15 21:13:25 -08:00
|
|
|
wrapQtAppsHook, poppler, zlib, pkgconfig }:
|
2014-04-22 14:26:27 -07:00
|
|
|
|
2019-11-12 21:13:48 -08:00
|
|
|
mkDerivation rec {
|
2014-04-22 14:26:27 -07:00
|
|
|
pname = "texstudio";
|
2020-02-05 18:51:03 -08:00
|
|
|
version = "2.12.22";
|
2014-04-22 14:26:27 -07:00
|
|
|
|
2018-04-10 11:19:52 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "${pname}-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-02-05 18:51:03 -08:00
|
|
|
sha256 = "037jvsfln8wav17qj9anxz2a7p51v7ky85wmhdj2hgwp40al651g";
|
2014-04-22 14:26:27 -07:00
|
|
|
};
|
|
|
|
|
2019-11-15 21:13:25 -08:00
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook pkgconfig ];
|
2019-11-12 21:13:48 -08:00
|
|
|
buildInputs = [ qtbase qtscript qtsvg poppler zlib ];
|
2014-04-22 14:26:27 -07:00
|
|
|
|
2016-04-16 16:27:11 -07:00
|
|
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
2014-04-22 14:26:27 -07:00
|
|
|
|
2019-11-12 21:13:48 -08:00
|
|
|
meta = with lib; {
|
2014-04-23 03:09:25 -07:00
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
2020-01-14 16:57:26 -08: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-03-31 18:11:51 -07:00
|
|
|
homepage = "http://texstudio.sourceforge.net";
|
2014-04-22 14:26:27 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2018-02-09 16:10:14 -08:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2020-02-05 18:51:03 -08:00
|
|
|
maintainers = with maintainers; [ ajs124 cfouche ];
|
2014-04-22 14:26:27 -07:00
|
|
|
};
|
|
|
|
}
|