nixpkgs/pkgs/applications/editors/texstudio/default.nix
2015-05-05 20:04:07 +00:00

32 lines
910 B
Nix

{ stdenv, fetchurl, qt4, poppler_qt4, zlib, pkgconfig}:
stdenv.mkDerivation rec {
pname = "texstudio";
version = "2.9.4";
name = "${pname}-${version}";
altname="Texstudio";
src = fetchurl {
url = "mirror://sourceforge/texstudio/${name}.tar.gz";
sha256 = "1smmc4xqs8x8qzp6iqj2wr4xarfnxxxp6rq6chx1kb256w75jwfw";
};
buildInputs = [ qt4 poppler_qt4 zlib pkgconfig];
preConfigure = ''
qmake PREFIX=$out NO_APPDATA=True texstudio.pro
'';
meta = with stdenv.lib; {
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.
'';
homepage = "http://texstudio.sourceforge.net/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ cfouche ];
};
}