summary refs log tree commit diff
path: root/pkgs/applications/editors/texstudio
diff options
context:
space:
mode:
authorChaddaï Fouché <chaddai.fouche@gmail.com>2014-04-22 23:26:27 +0200
committerChaddaï Fouché <chaddai.fouche@gmail.com>2014-04-29 16:48:22 +0200
commit89595fbcea79af385fea634db504827bb0121508 (patch)
tree08502c283673dc9c4224eaccac255dbae987e85a /pkgs/applications/editors/texstudio
parent1f2228cdc10807ed3b7ee0888b5cc8b6800e87b3 (diff)
downloadnixpkgs-89595fbcea79af385fea634db504827bb0121508.tar
nixpkgs-89595fbcea79af385fea634db504827bb0121508.tar.gz
nixpkgs-89595fbcea79af385fea634db504827bb0121508.tar.bz2
nixpkgs-89595fbcea79af385fea634db504827bb0121508.tar.lz
nixpkgs-89595fbcea79af385fea634db504827bb0121508.tar.xz
nixpkgs-89595fbcea79af385fea634db504827bb0121508.tar.zst
nixpkgs-89595fbcea79af385fea634db504827bb0121508.zip
Creation of a new package for texstudio, an editor for LaTeX documents
Diffstat (limited to 'pkgs/applications/editors/texstudio')
-rw-r--r--pkgs/applications/editors/texstudio/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix
new file mode 100644
index 00000000000..2a2d25ab3f7
--- /dev/null
+++ b/pkgs/applications/editors/texstudio/default.nix
@@ -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;
+  };
+}