2014-04-23 11:09:25 +01:00
|
|
|
{ stdenv, fetchurl, qt4, popplerQt4, zlib}:
|
2014-04-22 22:26:27 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "texstudio";
|
|
|
|
version = "2.7.0";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
altname="Texstudio";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-04-23 10:58:54 +01:00
|
|
|
url = "mirror://sourceforge/texstudio/${name}.tar.gz";
|
|
|
|
sha256 = "167d78nfk265jjvl129nr70v8ladb2rav2qyhw7ngr6m54gak831";
|
2014-04-22 22:26:27 +01:00
|
|
|
};
|
|
|
|
|
2014-04-23 11:09:25 +01:00
|
|
|
buildInputs = [ qt4 popplerQt4 zlib ];
|
2014-04-22 22:26:27 +01:00
|
|
|
|
2014-04-23 10:58:54 +01:00
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${popplerQt4}/include/poppler/qt4) "
|
|
|
|
qmake PREFIX=$out texstudio.pro
|
|
|
|
'';
|
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
|
|
|
};
|
|
|
|
}
|