lua*Packages.basexx: init at 0.4.0

This commit is contained in:
Vladimír Čunát 2018-07-30 17:26:48 +02:00
parent 597a5936d3
commit 40140997cb
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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}";