mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add luajit
* gnu/packages/lua.scm (luajit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3600420e3e
commit
924cd63116
1 changed files with 25 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
||||||
|
;;; Copyright © 2014 Raimon Grau <raimonster@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -61,3 +62,27 @@ (define-public lua
|
||||||
automatic memory management with incremental garbage collection, making it ideal
|
automatic memory management with incremental garbage collection, making it ideal
|
||||||
for configuration, scripting, and rapid prototyping.")
|
for configuration, scripting, and rapid prototyping.")
|
||||||
(license x11)))
|
(license x11)))
|
||||||
|
|
||||||
|
(define-public luajit
|
||||||
|
(package
|
||||||
|
(name "luajit")
|
||||||
|
(version "2.0.2")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "http://luajit.org/download/LuaJIT-"
|
||||||
|
version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0f3cykihfdn3gi6na9p0xjd4jnv26z18m441n5vyg42q9abh4ln0"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f ;luajit is distributed without tests
|
||||||
|
#:phases (alist-delete 'configure %standard-phases)
|
||||||
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
||||||
|
(home-page "http://www.luajit.org/")
|
||||||
|
(synopsis "Just in time compiler for Lua programming language version 5.1")
|
||||||
|
(description
|
||||||
|
"LuaJIT is a Just-In-Time Compiler (JIT) for the Lua
|
||||||
|
programming language. Lua is a powerful, dynamic and light-weight programming
|
||||||
|
language. It may be embedded or used as a general-purpose, stand-alone
|
||||||
|
language.")
|
||||||
|
(license x11)))
|
||||||
|
|
Loading…
Reference in a new issue