Commit 12581902 authored by dish's avatar dish
Browse files

nodePackages.lua-fmt: drop

Has critical issues like https://github.com/trixnz/lua-fmt/issues/40
unresolved
parent 3fd51348
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -197,6 +197,7 @@ mapAliases {
  less = pkgs.lessc; # added 2024-06-15
  less-plugin-clean-css = pkgs.lessc.plugins.clean-css; # added 2024-06-15
  lodash = throw "lodash was removed because it provides no executable"; # added 2025-03-18
  lua-fmt = throw "'lua-fmt' has been removed because it has critical bugs that break formatting"; # Added 2025-11-07
  inherit (pkgs) lv_font_conv; # added 2024-06-28
  manta = pkgs.node-manta; # Added 2023-05-06
  inherit (pkgs) markdown-link-check; # added 2024-06-28
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@
  gulp-cli = "gulp";
  jsonlint = "jsonlint";
  localtunnel = "lt";
  lua-fmt = "luafmt";
  parsoid = "parse.js";
  poor-mans-t-sql-formatter-cli = "sqlformat";
  pulp = "pulp";
+0 −1
Original line number Diff line number Diff line
@@ -54,7 +54,6 @@
, "live-server"
, "livedown"
, "localtunnel"
, "lua-fmt"
, "madoko"
, "mastodon-bot"
, "mathjax"
+0 −57
Original line number Diff line number Diff line
@@ -3027,15 +3027,6 @@ let
        sha512 = "cE3+jb9WRlu+uOSAugewNpITJDt1VF8dHOopPO4IABFc3SXYL5WE/+PTz/FCdZRRfIujiWW3n3aMbv1eIGVRWA==";
      };
    };
    "@types/commander-2.12.5" = {
      name = "_at_types_slash_commander";
      packageName = "@types/commander";
      version = "2.12.5";
      src = fetchurl {
        url = "https://registry.npmjs.org/@types/commander/-/commander-2.12.5.tgz";
        sha512 = "YXGZ/rz+s57VbzcvEV9fUoXeJlBt5HaKu5iUheiIWNsJs23bz6AnRuRiZBRVBLYyPnixNvVnuzM5pSaxr8Yp/g==";
      };
    };
    "@types/concat-stream-2.0.3" = {
      name = "_at_types_slash_concat-stream";
      packageName = "@types/concat-stream";
@@ -3072,15 +3063,6 @@ let
        sha512 = "vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==";
      };
    };
    "@types/diff-3.5.8" = {
      name = "_at_types_slash_diff";
      packageName = "@types/diff";
      version = "3.5.8";
      src = fetchurl {
        url = "https://registry.npmjs.org/@types/diff/-/diff-3.5.8.tgz";
        sha512 = "CZ5vepL87+M8PxRIvJjR181Erahch2w7Jev/XJm+Iot/SOvJh8QqH/N79b+vsKtYF6fFzoPieiiq2c5tzmXR9A==";
      };
    };
    "@types/es-aggregate-error-1.0.6" = {
      name = "_at_types_slash_es-aggregate-error";
      packageName = "@types/es-aggregate-error";
@@ -18157,16 +18139,6 @@ let
        sha512 = "jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==";
      };
    };
    "luaparse-git+https://github.com/oxyc/luaparse#ac42a00ebf4020b8c9d3219e4b0f84bf7ce6e802" = {
      name = "luaparse";
      packageName = "luaparse";
      version = "0.2.1";
      src = fetchgit {
        url = "https://github.com/oxyc/luaparse";
        rev = "ac42a00ebf4020b8c9d3219e4b0f84bf7ce6e802";
        sha256 = "f813d671f8f8088d70d29f7a7770bdd5ed41ed97240ae9346d7ced0c094ee049";
      };
    };
    "lunr-2.3.9" = {
      name = "lunr";
      packageName = "lunr";
@@ -39267,35 +39239,6 @@ in
    bypassCache = true;
    reconstructLock = true;
  };
  lua-fmt = nodeEnv.buildNodePackage {
    name = "lua-fmt";
    packageName = "lua-fmt";
    version = "2.6.0";
    src = fetchurl {
      url = "https://registry.npmjs.org/lua-fmt/-/lua-fmt-2.6.0.tgz";
      sha512 = "J4D7TK+BhSJ9ePQPpZPlu/aHE3X9ojN+D7DNv1HXZPryBJ74XWVmXpRX+qceXdE15TUsQRCj9w81waVOOFhfWA==";
    };
    dependencies = [
      sources."@types/commander-2.12.5"
      sources."@types/diff-3.5.8"
      sources."@types/get-stdin-5.0.1"
      sources."@types/node-22.13.10"
      sources."commander-2.20.3"
      sources."diff-3.5.0"
      sources."get-stdin-5.0.1"
      sources."luaparse-git+https://github.com/oxyc/luaparse#ac42a00ebf4020b8c9d3219e4b0f84bf7ce6e802"
      sources."undici-types-6.20.0"
    ];
    buildInputs = globalBuildInputs;
    meta = {
      description = "Format Lua code";
      homepage = "https://github.com/trixnz/lua-fmt";
      license = "MIT";
    };
    production = true;
    bypassCache = true;
    reconstructLock = true;
  };
  madoko = nodeEnv.buildNodePackage {
    name = "madoko";
    packageName = "madoko";