Creation of a new package for texstudio, an editor for LaTeX documents
This commit is contained in:
parent
1f2228cdc1
commit
89595fbcea
24
pkgs/applications/editors/texstudio/default.nix
Normal file
24
pkgs/applications/editors/texstudio/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, fetchurl, qt, popplerQt4, phonon }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "texstudio";
|
||||||
|
version = "2.7.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
altname="Texstudio";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/texstudio/${altname} ${version}/${name}.tar.gz";
|
||||||
|
sha1 = "0a5960689f2f9daef93391b96321ccc8c2e94c38";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qt popplerQt4 phonon ];
|
||||||
|
|
||||||
|
preConfigure = "qmake -r PREFIX=$out";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Fork of TeXMaker, this editor is a full fledged IDE for LaTeX editing with completion, structure viewer, preview and support of any compilation chain.";
|
||||||
|
homepage = "http://texstudio.sourceforge.net/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -2059,6 +2059,8 @@ let
|
|||||||
|
|
||||||
texmaker = callPackage ../applications/editors/texmaker { };
|
texmaker = callPackage ../applications/editors/texmaker { };
|
||||||
|
|
||||||
|
texstudio = callPackage ../applications/editors/texstudio { qt = qt4; };
|
||||||
|
|
||||||
tiled-qt = callPackage ../applications/editors/tiled-qt { qt = qt4; };
|
tiled-qt = callPackage ../applications/editors/tiled-qt { qt = qt4; };
|
||||||
|
|
||||||
tinc = callPackage ../tools/networking/tinc { };
|
tinc = callPackage ../tools/networking/tinc { };
|
||||||
|
Loading…
Reference in New Issue
Block a user