From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJHSX-00017n-Gf for guix-patches@gnu.org; Fri, 09 Jun 2017 06:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJHSW-0001Fu-J1 for guix-patches@gnu.org; Fri, 09 Jun 2017 06:48:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJHSW-0001Fo-GB for guix-patches@gnu.org; Fri, 09 Jun 2017 06:48:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJHSW-0006Lo-AP for guix-patches@gnu.org; Fri, 09 Jun 2017 06:48:04 -0400 Subject: bug#27296: [PATCH 27/35] gnu: Add texlive-luatex-lualibs. Resent-Message-ID: From: Ricardo Wurmus Date: Fri, 9 Jun 2017 12:45:51 +0200 Message-Id: <20170609104559.17416-27-rekado@elephly.net> In-Reply-To: <20170609104559.17416-1-rekado@elephly.net> References: <20170609104559.17416-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27296@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/tex.scm (texlive-luatex-lualibs): New variable. --- gnu/packages/tex.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 73db72145..3af340d53 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -61,7 +61,7 @@ #:use-module (gnu packages zip) #:autoload (gnu packages texinfo) (texinfo) #:use-module (ice-9 ftw) - #:use-module (srfi srfi-1)) + #:use-module ((srfi srfi-1) #:hide (zip))) (define texlive-extra-src (origin @@ -1203,6 +1203,43 @@ the NFSS in LaTeX running on XeTeX or LuaTeX engines. The package requires the l3kernel and xparse bundles from the LaTeX 3 development team.") (license license:lppl1.3+))) +;; The SVN directory contains little more than a dtx file that generates three +;; of the many lua files that should be installed as part of this package. +;; This is why we take the release from GitHub instead. +(define-public texlive-luatex-lualibs + (package + (name "texlive-luatex-lualibs") + (version "2.5") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/lualatex/lualibs/" + "releases/download/v" + version "/lualibs.zip")) + (sha256 + (base32 + "1xx9blvrmx9hyhrl345lpai9m6xxnw997261a1ahn1bm5r2j5fqy")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list (string-append "DESTDIR=" + (assoc-ref %outputs "out") + "/share/texmf-dist")) + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (native-inputs + `(("texlive-bin" ,texlive-bin) + ("unzip" ,unzip) + ("zip" ,zip))) + (home-page "https://github.com/lualatex/lualibs") + (synopsis "Lua modules for general programming (in the (La)TeX world)") + (description + "Lualibs is a collection of Lua modules useful for general programming. +The bundle is based on Lua modules shipped with ConTeXt, and made available in +this bundle for use independent of ConTeXt.") + ;; GPL version 2 only + (license license:gpl2))) + (define texlive-texmf (package (name "texlive-texmf") -- 2.12.2