GNU bug report logs -
#29425
Prosody patches
Previous Next
Reported by: Clément Lassieur <clement <at> lassieur.org>
Date: Fri, 24 Nov 2017 16:49:02 UTC
Severity: normal
Tags: fixed
Done: clement <at> lassieur.org (Clément Lassieur)
Bug is archived. No further changes may be made.
Full log
Message #8 received at 29425 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/lua.scm (lua5.1-bitop): New variable.
---
gnu/packages/lua.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index c8bc4ef85..8aec6374f 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -446,3 +446,26 @@ Grammars (PEGs).")
"Lua BitOp is a C extension module for Lua which adds bitwise operations
on numbers.")
(license license:expat)))
+
+(define-public lua5.1-bitop
+ (package
+ (inherit lua5.2-bitop)
+ (name "lua5.1-bitop")
+ ;; XXX: The arguments field is almost an exact copy of the field in
+ ;; "lua5.2-bitop", except for the version string, which was derived from
+ ;; "lua-5.2" and now is taken from "lua-5.1". See this discussion for
+ ;; context:
+ ;; http://lists.gnu.org/archive/html/guix-devel/2017-01/msg02048.html
+ (arguments
+ `(#:test-target "test"
+ #:make-flags
+ (list "INSTALL=install -pD"
+ (string-append "INSTALLPATH=printf "
+ (assoc-ref %outputs "out")
+ "/lib/lua/"
+ ,(version-major+minor (package-version lua-5.1))
+ "/bit/bit.so"))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (inputs `(("lua", lua-5.1)))))
--
2.15.0
This bug report was last modified 7 years and 182 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.