gnu: Add texlive-babel-swedish.

* gnu/packages/tex.scm (texlive-babel-swedish): New variable.

Co-authored-by: Rovanion Luckey <rovanion.luckey@gmail.com>
This commit is contained in:
Ricardo Wurmus 2021-05-03 13:57:24 +02:00
parent 04cbef14ff
commit 3d8a48f893
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3380,6 +3380,31 @@ (define-public texlive-generic-babel-german
Swiss varieties of German.") Swiss varieties of German.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-babel-swedish
(let ((template (simple-texlive-package
"texlive-babel-swedish"
(list "/source/generic/babel-swedish/")
(base32
"0swdg2l5i7cbcvy4q4xgsnwwnbxiyvs6f5b72kiw7mjn24v27g8f"))))
(package
(inherit template)
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ '())
"generic/babel-swedish")
((#:build-targets _ '())
''("swedish.ins")) ; TODO: use dtx and build documentation
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'chdir
(lambda _ (chdir "source/generic/babel-swedish")))))))
(home-page "https://www.ctan.org/pkg/babel-swedish")
(synopsis "Babel support for Swedish")
(description "This package provides the language definition file for
support of Swedish in @code{babel}. It provides all the necessary macros,
definitions and settings to typeset Swedish documents.")
(license license:lppl1.3c+))))
(define-public texlive-latex-cyrillic (define-public texlive-latex-cyrillic
(package (package
(name "texlive-latex-cyrillic") (name "texlive-latex-cyrillic")