summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/lua-packages.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-07-30 17:26:48 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-07-30 17:26:48 +0200
commit40140997cb212e7bd97e3a31301c5cf3656fe4d0 (patch)
tree4febbcb2b3e8da78c8e63da6dcad35a6d842ba30 /pkgs/top-level/lua-packages.nix
parent597a5936d325ca594f7cf9654d65c4ce03ac0472 (diff)
lua*Packages.basexx: init at 0.4.0
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r--pkgs/top-level/lua-packages.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix
index 42b5a0de08cb..aadf3cbcf83d 100644
--- a/pkgs/top-level/lua-packages.nix
+++ b/pkgs/top-level/lua-packages.nix
@@ -43,6 +43,32 @@ let
inherit lua;
};
+ basexx = buildLuaPackage rec {
+ version = "0.4.0";
+ name = "basexx-${version}";
+
+ src = fetchFromGitHub {
+ owner = "aiq";
+ repo = "basexx";
+ rev = "v${version}";
+ sha256 = "12y0ng9bp5b98iax35pnp0kc0mb42spv1cbywvfq6amik6l0ya7g";
+ };
+
+ buildPhase = ":";
+ installPhase = ''
+ install -Dt "$out/lib/lua/${lua.luaversion}/" \
+ lib/basexx.lua
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Lua library for base2, base16, base32, base64, base85";
+ homepage = "https://github.com/aiq/basexx";
+ license = licenses.mit;
+ maintainers = with maintainers; [ vcunat ];
+ platforms = platforms.all;
+ };
+ };
+
bit32 = buildLuaPackage rec {
version = "5.3.0";
name = "bit32-${version}";