2014-04-23 12:09:25 +02:00
|
|
|
{ stdenv, fetchurl, qt4, popplerQt4, zlib}:
|
2014-04-22 23:26:27 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "texstudio";
|
|
|
|
version = "2.7.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
altname="Texstudio";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-23 11:58:54 +02:00
|
|
|
url = "mirror://sourceforge/texstudio/${name}.tar.gz";
|
|
|
|
sha256 = "167d78nfk265jjvl129nr70v8ladb2rav2qyhw7ngr6m54gak831";
|
2014-04-22 23:26:27 +02:00
|
|
|
};
|
|
|
|
|
2014-04-23 12:09:25 +02:00
|
|
|
buildInputs = [ qt4 popplerQt4 zlib ];
|
2014-04-22 23:26:27 +02:00
|
|
|
|
2014-04-23 11:58:54 +02:00
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${popplerQt4}/include/poppler/qt4) "
|
|
|
|
qmake PREFIX=$out texstudio.pro
|
|
|
|
'';
|
2014-04-22 23:26:27 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-04-23 12:09:25 +02: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 23:26:27 +02:00
|
|
|
homepage = "http://texstudio.sourceforge.net/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2014-04-23 14:37:00 +02:00
|
|
|
maintainers = with maintainers; [ cfouche ];
|
2014-04-22 23:26:27 +02:00
|
|
|
};
|
|
|
|
}
|