From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: [PATCH 1/3] gnu: lua: Update to 5.3.3. Date: Mon, 31 Oct 2016 13:29:42 +0000 Message-ID: <20161031132944.2353-2-mbakke@fastmail.com> References: <20161031132944.2353-1-mbakke@fastmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1Cf3-0003ZJ-1L for guix-devel@gnu.org; Mon, 31 Oct 2016 09:30:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1Cf0-0003As-DY for guix-devel@gnu.org; Mon, 31 Oct 2016 09:30:01 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33251) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1Cf0-0003Ag-A2 for guix-devel@gnu.org; Mon, 31 Oct 2016 09:29:58 -0400 In-Reply-To: <20161031132944.2353-1-mbakke@fastmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: Marius Bakke * gnu/packages/lua.scm (lua): Update to 5.3.3. [source]: Use https URL. [home-page]: Use https URL. (lua-5.2): New variable. (lua-5.1)[source]: Use https URL. --- gnu/packages/lua.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index 8fdba61..55e529e 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -40,13 +40,13 @@ (define-public lua (package (name "lua") - (version "5.2.4") + (version "5.3.3") (source (origin (method url-fetch) - (uri (string-append "http://www.lua.org/ftp/lua-" + (uri (string-append "https://www.lua.org/ftp/lua-" version ".tar.gz")) (sha256 - (base32 "0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr")) + (base32 "18mcfbbmjyp8f2l9yy7n6dzk066nq6man0kpwly4bppphilc04si")) (patches (search-patches "lua-pkgconfig.patch" "lua52-liblua-so.patch")))) (build-system gnu-build-system) @@ -69,7 +69,7 @@ (string-append "INSTALL_TOP=" out) (string-append "INSTALL_MAN=" out "/share/man/man1"))))))))) - (home-page "http://www.lua.org/") + (home-page "https://www.lua.org/") (synopsis "Embeddable scripting language") (description "Lua is a powerful, fast, lightweight, embeddable scripting language. Lua @@ -80,12 +80,25 @@ automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.") (license license:x11))) +(define-public lua-5.2 + (package (inherit lua) + (version "5.2.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.lua.org/ftp/lua-" + version ".tar.gz")) + (sha256 + (base32 "0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr")) + (patches (search-patches "lua-pkgconfig.patch" + "lua52-liblua-so.patch")))))) + (define-public lua-5.1 (package (inherit lua) (version "5.1.5") (source (origin (method url-fetch) - (uri (string-append "http://www.lua.org/ftp/lua-" + (uri (string-append "https://www.lua.org/ftp/lua-" version ".tar.gz")) (sha256 (base32 "0cskd4w0g6rdm2q8q3i4n1h3j8kylhs3rq8mxwl9vwlmlxbgqh16")) -- 2.10.1