summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/lua-bit32/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/lua-bit32/package.py')
-rw-r--r--var/spack/repos/builtin/packages/lua-bit32/package.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lua-bit32/package.py b/var/spack/repos/builtin/packages/lua-bit32/package.py
new file mode 100644
index 0000000000..4dca82dd64
--- /dev/null
+++ b/var/spack/repos/builtin/packages/lua-bit32/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.pkgkit import *
+
+
+class LuaBit32(LuaPackage):
+ """Lua 5.2 bit operations for Lua 5.1"""
+
+ homepage = "https://luarocks.org/modules/siffiejoe/bit32/"
+ url = "https://luarocks.org/manifests/siffiejoe/bit32-5.3.5.1-1.src.rock"
+
+ version('5.3.5.1-1', sha256='0e273427f2b877270f9cec5642ebe2670242926ba9638d4e6df7e4e1263ca12c', expand=False)
+
+ depends_on('lua-lang@5.1')