(address . guix-patches@gnu.org)
* gnu/packages/lua.scm (lua5.1-socket): Update to 3.0-rc1.
[source]: Change upstream URI.
[arguments]: Set INSTALL_TOP environment variable instead of INSTALL_TOP_SHARE
and INSTALL_TOP_LIB.
---
gnu/packages/lua.scm | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Toggle diff (34 lines)
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index d5f55b963..3a528599f 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -173,21 +173,20 @@ language.")
(define-public lua5.1-socket
(package
(name "lua5.1-socket")
- (version "2.0.2")
+ (version "3.0-rc1")
(source (origin
(method url-fetch)
- (uri (string-append "http://files.luaforge.net/releases/"
- "luasocket/luasocket/luasocket-"
- version "/luasocket-" version ".tar.gz"))
+ (uri (string-append
+ "https://github.com/diegonehab/luasocket/archive/v"
+ version ".tar.gz"))
(sha256
(base32
- "19ichkbc4rxv00ggz8gyf29jibvc2wq9pqjik0ll326rrxswgnag"))))
+ "0j8jx8bjicvp9khs26xjya8c495wrpb7parxfnabdqa5nnsxjrwb"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(let ((out (assoc-ref %outputs "out")))
- (list (string-append "INSTALL_TOP_SHARE=" out "/share/lua/5.1")
- (string-append "INSTALL_TOP_LIB=" out "/lib/lua/5.1")))
+ (list (string-append "INSTALL_TOP=" out)))
#:phases
(modify-phases %standard-phases
(delete 'configure)
--
2.15.1