gnu: Add texlive-stmaryrd/fixed.

* gnu/packages/tex.scm (texlive-stmaryrd/fixed): New variable.
This commit is contained in:
Ricardo Wurmus 2022-02-12 23:25:53 +01:00
parent 6ce3c0043b
commit f0ada3f78f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -6534,6 +6534,25 @@ (define-public texlive-stmaryrd
the whole font.")
(license license:lppl))))
(define-public texlive-stmaryrd/fixed
(package
(inherit texlive-stmaryrd)
(name "texlive-stmaryrd-fixed")
(arguments
(substitute-keyword-arguments (package-arguments texlive-stmaryrd)
((#:tex-directory _ #t)
"latex/stmaryrd")
((#:phases phases)
`(modify-phases ,phases
(add-before 'copy-files 'unchdir
(lambda _
(chdir "../../..")))
(add-after 'copy-files 'delete-extra-files
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively
(string-append (assoc-ref outputs "out")
"/share/texmf-dist/source/fonts/stmaryrd/build"))))))))))
(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)
(define-public texlive-latex-subfigure