2015-05-05 20:51:28 +01:00
|
|
|
{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
|
2014-04-22 22:26:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "texstudio";
|
2015-05-05 20:51:28 +01:00
|
|
|
version = "2.9.4";
|
2014-04-22 22:26:27 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
altname="Texstudio";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-23 10:58:54 +01:00
|
|
|
url = "mirror://sourceforge/texstudio/${name}.tar.gz";
|
2015-05-05 20:51:28 +01:00
|
|
|
sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
|
2014-04-22 22:26:27 +01:00
|
|
|
};
|
|
|
|
|
2015-05-05 20:51:28 +01:00
|
|
|
buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
|
2014-04-22 22:26:27 +01:00
|
|
|
|
2014-04-23 10:58:54 +01:00
|
|
|
preConfigure = ''
|
2015-05-05 20:51:28 +01:00
|
|
|
qmake PREFIX=$out NO_APPDATA=True texstudio.pro
|
2014-04-23 10:58:54 +01:00
|
|
|
'';
|
2014-04-22 22:26:27 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-04-23 11:09:25 +01:00
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
|
|
|
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.
|
|
|
|
'';
|
2014-04-22 22:26:27 +01:00
|
|
|
homepage = "http://texstudio.sourceforge.net/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2014-04-23 13:37:00 +01:00
|
|
|
maintainers = with maintainers; [ cfouche ];
|
2014-04-22 22:26:27 +01:00
|
|
|
};
|
|
|
|
}
|