summary refs log tree commit diff
path: root/pkgs/development/lua-modules
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-01-24 21:19:22 +0100
committerMatthieu Coudron <mattator@gmail.com>2020-01-25 19:39:28 +0100
commit84a2134baad9859f6a9fab88edd1a22437ba600a (patch)
tree8cfe72f4052e53d6d86b66472dd0553f1c64c300 /pkgs/development/lua-modules
parenta032a3ad90f7794977c10a95141e424b8211ecd9 (diff)
downloadnixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar.gz
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar.bz2
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar.lz
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar.xz
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.tar.zst
nixpkgs-84a2134baad9859f6a9fab88edd1a22437ba600a.zip
luaPackages.vstruct: init at 2.0.2-1
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r--pkgs/development/lua-modules/generated-packages.nix20
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 eaa0f41aadb..9afd8ab6a6e 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";
   };
 };