diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 13:51:32 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 13:51:32 +0100 |
commit | ff37d7564bbd8859264d30fda09b546efb752363 (patch) | |
tree | fc137e97c81bc93a25fcca65958619c4a7a10ed3 | |
parent | 1eedbae8b44c6acd6509d02a75af7b8860fd38fc (diff) | |
download | guix-ff37d7564bbd8859264d30fda09b546efb752363.tar.gz |
gnu: Add texlive-enumitem.
* gnu/packages/tex.scm (texlive-enumitem): New variable. (texlive-latex-enumitem): Deprecate package.
-rw-r--r-- | gnu/packages/tex.scm | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index ad75d9f9ae..7da1f2277a 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6109,32 +6109,14 @@ splines, and filled circles and ellipses. The package uses @code{tpic} @code{\\special} commands.") (license license:public-domain))) -(define-public texlive-latex-enumitem +(define-public texlive-enumitem (package - (name "texlive-latex-enumitem") - (version (number->string %texlive-revision)) - (source (origin - (method svn-fetch) - (uri (svn-reference - (url (string-append "svn://www.tug.org/texlive/tags/" - %texlive-tag "/Master/texmf-dist/" - "/tex/latex/enumitem")) - (revision %texlive-revision))) - (file-name (string-append name "-" version "-checkout")) - (sha256 - (base32 - "1j8svflnx9w897mdavyf1f0n256wh4bbclrhv5vx7b501gmlbp7d")))) - (build-system trivial-build-system) - (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((target (string-append (assoc-ref %outputs "out") - "/share/texmf-dist/tex/latex/enumitem"))) - (mkdir-p target) - (copy-recursively (assoc-ref %build-inputs "source") target) - #t)))) + (inherit + (simple-texlive-package + "texlive-enumitem" + (list "doc/latex/enumitem/" "tex/latex/enumitem/") + (base32 "0qwbyjb4a82qjxrfmz06v3w5vly75id4ix4sw7lz2az68kz080dv") + #:trivial? #t)) (home-page "https://www.ctan.org/pkg/enumitem") (synopsis "Customize basic list environments") (description |