summary refs log tree commit diff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorDominik Delgado Steuter via Guix-patches via <guix-patches@gnu.org>2023-04-19 23:56:10 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-25 01:13:34 +0200
commit74f2a0bd79579105c47d61ede8b8861b122620b0 (patch)
treef307ed36e9318854d70856be10f89ef08b59fde3 /gnu/packages/tex.scm
parent5eb1d1b6482e29239f1d40dfcb815cdc12a2bdf0 (diff)
downloadguix-74f2a0bd79579105c47d61ede8b8861b122620b0.tar.gz
gnu: Add texstudio.
* gnu/packages/tex.scm (texstudio): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c8f7923552..9e1b3e521f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2023 Thomas Albers Raviola <thomas@thomaslabs.org>
 ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8591,6 +8592,36 @@ PDF documents.")
 develop documents with LaTeX, in a single application.")
     (license license:gpl2+)))
 
+(define-public texstudio
+  (package
+    (name "texstudio")
+    (version "4.5.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/texstudio-org/texstudio")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0bzdcsc0273809hx04zqd2famq05q9rpvqcbqhkjqnqp9vxbisig"))))
+    (build-system qt-build-system)
+    (arguments
+     `(#:tests? #f))                    ;tests work only with debug build
+    (native-inputs
+     (list pkg-config
+           poppler-qt5
+           qtdeclarative-5
+           qtsvg-5
+           qttools-5))
+    (home-page "https://www.texstudio.org/")
+    (synopsis "Feature-packed LaTeX editor")
+    (description
+     "TeXstudio is an integrated writing environment for creating LaTeX
+documents.  It makes writing LaTeX comfortable by providing features such as
+syntax-highlighting, an integrated viewer and reference checking.")
+    (license license:gpl3)))
+
 (define-public dvisvgm
   (package
     (name "dvisvgm")