luaPackages.basexx: move to generated
This commit is contained in:
parent
582fa48e6f
commit
84d4faf8d5
@ -1,5 +1,6 @@
|
|||||||
ansicolors,
|
ansicolors,
|
||||||
argparse,
|
argparse,
|
||||||
|
basexx,
|
||||||
dkjson
|
dkjson
|
||||||
fifo
|
fifo
|
||||||
inspect
|
inspect
|
||||||
|
|
@ -50,6 +50,26 @@ argparse = buildLuarocksPackage {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
basexx = buildLuarocksPackage {
|
||||||
|
pname = "basexx";
|
||||||
|
version = "0.4.0-1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = https://luarocks.org/basexx-0.4.0-1.src.rock;
|
||||||
|
sha256 = "1px8yrxg1qkk3kzdqj3siry742jdv4ysp2dmicxi15mkynqpjlzz";
|
||||||
|
};
|
||||||
|
disabled = ( luaOlder "5.1");
|
||||||
|
propagatedBuildInputs = [lua ];
|
||||||
|
buildType="builtin";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/aiq/basexx";
|
||||||
|
description="A base2, base16, base32, base64 and base85 library for Lua";
|
||||||
|
license = {
|
||||||
|
fullName = "MIT";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
dkjson = buildLuarocksPackage {
|
dkjson = buildLuarocksPackage {
|
||||||
pname = "dkjson";
|
pname = "dkjson";
|
||||||
version = "2.5-2";
|
version = "2.5-2";
|
||||||
|
@ -100,32 +100,6 @@ with self; {
|
|||||||
|
|
||||||
luarocks-nix = callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { };
|
luarocks-nix = callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { };
|
||||||
|
|
||||||
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 {
|
bit32 = buildLuaPackage rec {
|
||||||
version = "5.3.0";
|
version = "5.3.0";
|
||||||
name = "bit32-${version}";
|
name = "bit32-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user