summary refs log tree commit diff
path: root/pkgs/development/lua-modules
diff options
context:
space:
mode:
author"Matthieu Coudron" <"886074+teto@users.noreply.github.com">2023-10-22 03:07:15 +0200
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2023-10-22 12:45:17 +0200
commit08535145485e136bf115fea821a626ac40230488 (patch)
treefe5eb9dd96a6232ef17b32fceae8276b268e882e /pkgs/development/lua-modules
parentfa76053442d2af3dba6783da0709b986b3032cd2 (diff)
luaPackages: updated the 10-22-2023
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r--pkgs/development/lua-modules/generated-packages.nix26
1 files changed, 10 insertions, 16 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix
index 2acbbc38a9b69..4484dd3de6313 100644
--- a/pkgs/development/lua-modules/generated-packages.nix
+++ b/pkgs/development/lua-modules/generated-packages.nix
@@ -2977,24 +2977,18 @@ buildLuarocksPackage {
   };
 }) {};
 
-std-normalize = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder, std-_debug }:
+std-normalize = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder, std-_debug }:
 buildLuarocksPackage {
   pname = "std.normalize";
-  version = "git-1";
-
-  src = fetchgit ( removeAttrs (builtins.fromJSON ''{
-  "url": "https://github.com/lua-stdlib/normalize.git",
-  "rev": "01307e4e6cc3a2d3eba907d3a6758bcf0f3f09e2",
-  "date": "2023-02-03T19:18:59-07:00",
-  "path": "/nix/store/wnvhj9mma8j5j5wmgj5ih2c548gvn5ic-normalize",
-  "sha256": "0bh8sz8lv67yjkzf4i1a75c4ywdx5rsgf063ixxw0fqrc7kazaz5",
-  "hash": "sha256-5auv5mEZO8B7j8MA93QuvXFPWDkqROL+lP6YTdHXCC4=",
-  "fetchLFS": false,
-  "fetchSubmodules": true,
-  "deepClone": false,
-  "leaveDotGit": false
-}
- '') ["date" "path" "sha256"]) ;
+  version = "2.0.3-1";
+  knownRockspec = (fetchurl {
+    url    = "mirror://luarocks/std.normalize-2.0.3-1.rockspec";
+    sha256 = "1l83ikiaw4dch2r69cxpl93b9d4wf54vbjb6fcggnkxxgm0amj3a";
+  }).outPath;
+  src = fetchzip {
+    url    = "http://github.com/lua-stdlib/normalize/archive/v2.0.3.zip";
+    sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi";
+  };
 
   disabled = (luaOlder "5.1") || (luaAtLeast "5.5");
   propagatedBuildInputs = [ lua std-_debug ];