[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/110: gnu: Add texlive-hyphen-basque.
From: |
guix-commits |
Subject: |
19/110: gnu: Add texlive-hyphen-basque. |
Date: |
Mon, 22 Jul 2019 15:25:33 -0400 (EDT) |
rekado pushed a commit to branch wip-texlive
in repository guix.
commit dd83187580b6a89c12c23fee09bbea43aff32c50
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jul 9 12:57:27 2019 +0200
gnu: Add texlive-hyphen-basque.
* gnu/packages/tex.scm (texlive-hyphen-basque): New variable.
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 273c720..2875736 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1421,6 +1421,44 @@ language.")
;; Any version of the LGPL.
(license license:lgpl3+))))
+(define-public texlive-hyphen-basque
+ (let ((template (texlive-hyphen-package
+ "texlive-hyphen-basque" "eu"
+ (list
"/source/generic/hyph-utf8/languages/eu/generate_patterns_eu.rb")
+ (base32
+ "1yhsbzf1g9dm70jfixsz51hsfvn26cwfkfxvhg7xv2piynr4v51l"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'build 'build-patterns
+ (lambda _
+ (let ((target (string-append (getcwd)
+
"/tex/generic/hyph-utf8/patterns/tex")))
+ (mkdir-p target)
+ (with-directory-excursion
"source/generic/hyph-utf8/languages/eu/"
+ (substitute* "generate_patterns_eu.rb"
+ (("\\$file = File.new.*")
+ (string-append "$file = File.new(\"" target
+ "/hyph-eu.tex\",\"w\")\n")))
+ (invoke "ruby" "generate_patterns_eu.rb"))
+ #t)))
+ (add-after 'install 'install-hyph-eu.tex
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (target (string-append out "/share/texmf-dist/tex")))
+ (copy-recursively "tex" target)
+ #t)))))))
+ (synopsis "Hyphenation patterns for Basque")
+ (description "The package provides hyphenation patterns for the Basque
+language.")
+ ;; "Free for any purpose".
+ (license (license:fsf-free
+
"/source/generic/hyph-utf8/languages/eu/generate_patterns_eu.rb")))))
+
+
(define-public texlive-hyph-utf8
(package
(inherit (simple-texlive-package
- 05/110: gnu: Add simple-texlive-package., (continued)
- 05/110: gnu: Add simple-texlive-package., guix-commits, 2019/07/22
- 07/110: gnu: Add texlive-hyphen-package., guix-commits, 2019/07/22
- 04/110: build-system/texlive: Add texlive-origin., guix-commits, 2019/07/22
- 06/110: gnu: Add hyph-utf8-scripts., guix-commits, 2019/07/22
- 08/110: gnu: Add texlive-unicode-data., guix-commits, 2019/07/22
- 09/110: gnu: Add texlive-hyphen-base., guix-commits, 2019/07/22
- 13/110: gnu: texlive-fonts-cm: Remove cm-type1., guix-commits, 2019/07/22
- 12/110: gnu: texlive-dvips: Implement with simple-texlive-package., guix-commits, 2019/07/22
- 11/110: gnu: Add texlive-dehyph-exptl., guix-commits, 2019/07/22
- 14/110: gnu: texlive-fonts-cm: Use simple-texlive-package., guix-commits, 2019/07/22
- 19/110: gnu: Add texlive-hyphen-basque.,
guix-commits <=
- 22/110: gnu: Add texlive-hyphen-bulgarian., guix-commits, 2019/07/22
- 21/110: gnu: Add texlive-hyphen-belarusian., guix-commits, 2019/07/22
- 24/110: gnu: Add texlive-hyphen-chinese., guix-commits, 2019/07/22
- 27/110: gnu: Add texlive-hyphen-croatian., guix-commits, 2019/07/22
- 17/110: gnu: Add texlive-hyphen-ancientgreek., guix-commits, 2019/07/22
- 15/110: gnu: Add texlive-tex-ini-files., guix-commits, 2019/07/22
- 16/110: gnu: Add texlive-hyphen-afrikaans., guix-commits, 2019/07/22
- 18/110: gnu: Add texlive-hyphen-armenian., guix-commits, 2019/07/22
- 23/110: gnu: Add texlive-hyphen-catalan., guix-commits, 2019/07/22
- 25/110: gnu: Add texlive-hyphen-churchslavonic., guix-commits, 2019/07/22