Subject: [PATCH core-updates 3/5] gnu: TeX Live: Add texlive-latex-l3backend

From: Thiago Jung Bauermann <[email-masked]>
Date: Sun, 4 Jul 2021 21:01:01 -0300

* gnu/packages/tex.scm (texlive-latex-l3backend): New public variable.
---
 gnu/packages/tex.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 21c263619b66..a4b0bc95fa91 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3376,6 +3376,35 @@ code are built: it is an API for TeX programmers.  The packages are set up so
 that the LaTeX3 conventions can be used with regular LaTeX 2e packages.")
     (license license:lppl1.3c+)))
 
+(define-public texlive-latex-l3backend
+  (package
+    (name "texlive-latex-l3backend")
+    (version (number->string %texlive-revision))
+    (source (origin
+              (method svn-fetch)
+              (uri (texlive-ref "latex" "l3backend"))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "0mlwyzssqn6wkyv9hzp24d40p8f20zrjqgvqyqs1rd7q7awan42a"))))
+    (build-system texlive-build-system)
+    (arguments
+     '(#:tex-directory "latex/l3backend"
+       #:tex-engine "tex"
+       #:tex-format #f
+       #:texlive-latex-base #f))
+    (native-inputs
+     `(("texlive-docstrip" ,texlive-docstrip)))
+    (home-page "https://www.ctan.org/pkg/l3backend")
+    (synopsis "LaTeX3 backend drivers")
+    (description
+     "This package forms parts of expl3, and contains the code used to
+interface with backends (drivers) across the expl3 codebase. The functions
+here are defined differently depending on the engine in use. As such, these
+are distributed separately from l3kernel to allow this code to be updated on
+an independent schedule.")
+    (license license:lppl1.3c+)))
+
 (define-public texlive-latex-l3packages
   (package
     (name "texlive-latex-l3packages")