summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaimon Grau <raimonster@gmail.com>2014-02-06 01:43:31 +0100
committerLudovic Courtès <ludo@gnu.org>2014-02-06 19:04:02 +0100
commit924cd631168ba6d03e7aee57f3e02d4c0959f9dd (patch)
tree65245bc9882e25bedba146deccd70d9423faa959
parent3600420e3e4bfc105e3d01474688ab10a7eb37a6 (diff)
gnu: Add luajit
* gnu/packages/lua.scm (luajit): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/lua.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 14fc28ced09..81caa263ad4 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com> 2;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
3;;; Copyright © 2014 Raimon Grau <raimonster@gmail.com>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -61,3 +62,27 @@ runs by interpreting bytecode for a register-based virtual machine, and has
61automatic memory management with incremental garbage collection, making it ideal 62automatic memory management with incremental garbage collection, making it ideal
62for configuration, scripting, and rapid prototyping.") 63for configuration, scripting, and rapid prototyping.")
63 (license x11))) 64 (license x11)))
65
66(define-public luajit
67 (package
68 (name "luajit")
69 (version "2.0.2")
70 (source (origin
71 (method url-fetch)
72 (uri (string-append "http://luajit.org/download/LuaJIT-"
73 version ".tar.gz"))
74 (sha256
75 (base32 "0f3cykihfdn3gi6na9p0xjd4jnv26z18m441n5vyg42q9abh4ln0"))))
76 (build-system gnu-build-system)
77 (arguments
78 '(#:tests? #f ;luajit is distributed without tests
79 #:phases (alist-delete 'configure %standard-phases)
80 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
81 (home-page "http://www.luajit.org/")
82 (synopsis "Just in time compiler for Lua programming language version 5.1")
83 (description
84 "LuaJIT is a Just-In-Time Compiler (JIT) for the Lua
85programming language. Lua is a powerful, dynamic and light-weight programming
86language. It may be embedded or used as a general-purpose, stand-alone
87language.")
88 (license x11)))