luaPackages.basexx: move to generated

wip/yesman
Matthieu Coudron 5 years ago
parent 582fa48e6f
commit 84d4faf8d5
  1. 1
      maintainers/scripts/luarocks-packages.csv
  2. 20
      pkgs/development/lua-modules/generated-packages.nix
  3. 26
      pkgs/top-level/lua-packages.nix

@ -1,5 +1,6 @@
ansicolors,
argparse,
basexx,
dkjson
fifo
inspect

1 ansicolors,
2 argparse,
3 basexx,
4 dkjson
5 fifo
6 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 {
pname = "dkjson";
version = "2.5-2";

@ -100,32 +100,6 @@ with self; {
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 {
version = "5.3.0";
name = "bit32-${version}";

Loading…
Cancel
Save