diff options
author | Peter Simons <simons@cryp.to> | 2014-05-01 13:06:06 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-05-01 13:06:06 +0200 |
commit | 0293dc9fbd7835b8fd59771380a1d8a7ae20395b (patch) | |
tree | 856609b97d8da0236e332de99a8e880c58ff5d60 /pkgs/applications/editors | |
parent | b9921ab08abe3e425de80dadde66048a861efaa6 (diff) | |
parent | 600bd22f270ae4842d599d2799998f6a2c7b61ef (diff) | |
download | nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar.gz nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar.bz2 nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar.lz nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar.xz nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.tar.zst nixlib-0293dc9fbd7835b8fd59771380a1d8a7ae20395b.zip |
Merge pull request #2357 from Chaddai/texstudio
Texstudio : advanced editor for LaTeX
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/texstudio/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix new file mode 100644 index 000000000000..cd7f0b78c235 --- /dev/null +++ b/pkgs/applications/editors/texstudio/default.nix @@ -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 ]; + }; +} |