mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #2357 from Chaddai/texstudio
Texstudio : advanced editor for LaTeX
This commit is contained in:
commit
0293dc9fbd
33
pkgs/applications/editors/texstudio/default.nix
Normal file
33
pkgs/applications/editors/texstudio/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchurl, qt4, popplerQt4, zlib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "texstudio";
|
||||
version = "2.7.0";
|
||||
name = "${pname}-${version}";
|
||||
altname="Texstudio";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/texstudio/${name}.tar.gz";
|
||||
sha256 = "167d78nfk265jjvl129nr70v8ladb2rav2qyhw7ngr6m54gak831";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 popplerQt4 zlib ];
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${popplerQt4}/include/poppler/qt4) "
|
||||
qmake PREFIX=$out 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 ];
|
||||
};
|
||||
}
|
|
@ -2061,6 +2061,8 @@ let
|
|||
|
||||
texmaker = callPackage ../applications/editors/texmaker { };
|
||||
|
||||
texstudio = callPackage ../applications/editors/texstudio { };
|
||||
|
||||
tiled-qt = callPackage ../applications/editors/tiled-qt { qt = qt4; };
|
||||
|
||||
tinc = callPackage ../tools/networking/tinc { };
|
||||
|
|
Loading…
Reference in a new issue