diff options
-rw-r--r-- | maintainers/scripts/luarocks-packages.csv | 1 | ||||
-rw-r--r-- | pkgs/development/lua-modules/generated-packages.nix | 20 |
2 files changed, 18 insertions, 3 deletions
diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv index ceb47f57db56..01e3150ede13 100644 --- a/maintainers/scripts/luarocks-packages.csv +++ b/maintainers/scripts/luarocks-packages.csv @@ -75,3 +75,4 @@ std__debug,std._debug,,,, std_normalize,std.normalize,,,, stdlib,,,,,vyp pulseaudio,,,,,doronbehar +vstruct,,,,, diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index eaa0f41aadbe..9afd8ab6a6ef 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -1536,9 +1536,23 @@ stdlib = buildLuarocksPackage { homepage = "http://lua-stdlib.github.io/lua-stdlib"; description = "General Lua Libraries"; maintainers = with maintainers; [ vyp ]; - license = { - fullName = "MIT/X11"; - }; + license.fullName = "MIT/X11"; + }; +}; +vstruct = buildLuarocksPackage { + pname = "vstruct"; + version = "2.0.2-1"; + + src = fetchurl { + url = mirror://luarocks/vstruct-2.0.2-1.src.rock; + sha256 = "05k1685618wh7vg8av92mh1i1rjqg15x12gifbp9kyqzc2nk3kzq"; + }; + disabled = (luaOlder "5.1") || (luaAtLeast "5.3"); + propagatedBuildInputs = [ lua ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/ToxicFrog/vstruct"; + description = "Lua library to manipulate binary data"; }; }; |