mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: texlive-hyphen-package: Remove SIMPLE-TEXLIVE-PACKAGE call.
* gnu/packages/tex.scm (texlive-hyphen-package): Remove SIMPLE-TEXLIVE-PACKAGE call.
This commit is contained in:
parent
8c0d071dfc
commit
6a09a6c5eb
1 changed files with 63 additions and 58 deletions
|
@ -184,19 +184,21 @@ (define hyph-utf8-scripts
|
|||
|
||||
(define (texlive-hyphen-package name code locations hash)
|
||||
"Return a TeX Live hyphenation package with the given NAME, using source
|
||||
files from LOCATIONS with expected checksum HASH. CODE is not currently in use."
|
||||
(let ((parent (simple-texlive-package
|
||||
name locations hash #:trivial? #t)))
|
||||
files from LOCATIONS with expected checksum HASH. CODE is not currently in
|
||||
use."
|
||||
(package
|
||||
(inherit parent)
|
||||
(name name)
|
||||
(version (number->string %texlive-revision))
|
||||
(source (texlive-origin name version location hash))
|
||||
(build-system texlive-build-system)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments parent)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(list
|
||||
#:texlive-latex-base #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(root (string-append out "/share/texmf-dist"))
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((root (string-append #$output "/share/texmf-dist"))
|
||||
(patterns
|
||||
(string-append root "/tex/generic/hyph-utf8/patterns/txt/"))
|
||||
(loaders
|
||||
|
@ -244,10 +246,13 @@ (define (texlive-hyphen-package name code locations hash)
|
|||
(substitute* "generate-ptex-patterns.rb"
|
||||
(("File\\.join\\(PATH::PTEX")
|
||||
(string-append "File.join(\"" ptex "\"")))
|
||||
(invoke "ruby" "generate-ptex-patterns.rb")))))))))
|
||||
(invoke "ruby" "generate-ptex-patterns.rb"))))))))
|
||||
(native-inputs
|
||||
(list ruby-2.7 ruby-hydra-minimal/pinned hyph-utf8-scripts))
|
||||
(home-page "https://ctan.org/pkg/hyph-utf8"))))
|
||||
(list hyph-utf8-scripts ruby-2.7 ruby-hydra-minimal/pinned))
|
||||
(home-page "https://ctan.org/pkg/hyph-utf8")
|
||||
(synopsis #f)
|
||||
(description #f)
|
||||
(license #f)))
|
||||
|
||||
(define texlive-extra-src
|
||||
(origin
|
||||
|
|
Loading…
Reference in a new issue