guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

229/416: gnu: texlive-babel-swedish: Refresh package definition.


From: guix-commits
Subject: 229/416: gnu: texlive-babel-swedish: Refresh package definition.
Date: Sun, 28 May 2023 02:32:53 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit ab7f10cda906ee28e8cf7af142b911df848e9070
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 22:34:13 2023 +0200

    gnu: texlive-babel-swedish: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-babel-swedish): Remove 
SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 97129c1b6b..6d4e9cd8b8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4809,25 +4809,23 @@ German.")
 (define-deprecated-package texlive-generic-babel-german texlive-babel-german)
 
 (define-public texlive-babel-swedish
-  (let ((template (simple-texlive-package
-                   "texlive-babel-swedish"
-                   (list "/source/generic/babel-swedish/")
-                   (base32
-                    "03rp4n9wkqyckman765r8v8j2pg5fg9frbfxsnhq0i2mr0yhbr6v"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/babel-swedish")
-         ((#:build-targets _ '())
-          ''("swedish.ins"))))
-      (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+))))
+  (package
+    (name "texlive-babel-swedish")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/generic/babel-swedish/"
+                   "source/generic/babel-swedish/"
+                   "tex/generic/babel-swedish/")
+             (base32
+              "0qi2rzhlxikabrk9n0096inbczgp5hwghvy5zn0mph8zmsxlfbdf")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/babel-swedish";)
+    (synopsis "Babel support for typesetting Swedish")
+    (description
+     "The package provides the language definition file for Swedish.")
+    (license license:lppl1.3+)))
 
 (define-public texlive-cyrillic
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]