diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-01-24 21:19:22 +0100 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2020-01-25 19:39:28 +0100 |
commit | 84a2134baad9859f6a9fab88edd1a22437ba600a (patch) | |
tree | 8cfe72f4052e53d6d86b66472dd0553f1c64c300 /pkgs/development/lua-modules | |
parent | a032a3ad90f7794977c10a95141e424b8211ecd9 (diff) |
luaPackages.vstruct: init at 2.0.2-1
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r-- | pkgs/development/lua-modules/generated-packages.nix | 20 |
1 files changed, 17 insertions, 3 deletions
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"; }; }; |