From ff37d7564bbd8859264d30fda09b546efb752363 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 28 Jan 2022 13:51:32 +0100 Subject: gnu: Add texlive-enumitem. * gnu/packages/tex.scm (texlive-enumitem): New variable. (texlive-latex-enumitem): Deprecate package. --- gnu/packages/tex.scm | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) (limited to 'gnu') 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 -- cgit 1.4.1