diff --git a/pkgs/shells/nushell/plugins/default.nix b/pkgs/shells/nushell/plugins/default.nix index f4571d4da002..eb8bbe14c281 100644 --- a/pkgs/shells/nushell/plugins/default.nix +++ b/pkgs/shells/nushell/plugins/default.nix @@ -4,6 +4,6 @@ lib.makeScope newScope (self: with self; { gstat = callPackage ./gstat.nix { inherit Security; }; formats = callPackage ./formats.nix { inherit IOKit Foundation; }; query = callPackage ./query.nix { inherit IOKit CoreFoundation; }; - regex = callPackage ./regex.nix { inherit IOKit; }; + regex = throw "`nu_plugin_regex` is no longer compatible with the current Nushell release."; net = callPackage ./net.nix { inherit IOKit CoreFoundation; }; }) diff --git a/pkgs/shells/nushell/plugins/regex.nix b/pkgs/shells/nushell/plugins/regex.nix deleted file mode 100644 index 4689a8390257..000000000000 --- a/pkgs/shells/nushell/plugins/regex.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ stdenv -, lib -, rustPlatform -, fetchFromGitHub -, nix-update-script -, IOKit -}: - -rustPlatform.buildRustPackage { - pname = "nushell_plugin_regex"; - version = "unstable-2023-10-08"; - - src = fetchFromGitHub { - owner = "fdncred"; - repo = "nu_plugin_regex"; - rev = "e1aa88e703f1f632ede685dd733472d34dd0c8e7"; - hash = "sha256-GJgnsaeNDJoJjw8RPw6wpEq1mIult18Eh4frl8Plgxc="; - }; - - cargoHash = "sha256-AACpzSavY6MlYnl1lDYxVlfsEvEpNK0u8SzsoSZbqFc="; - - buildInputs = lib.optionals stdenv.isDarwin [ IOKit ]; - - passthru = { - updateScript = nix-update-script { }; - }; - - meta = with lib; { - description = "A Nushell plugin to parse regular expressions"; - homepage = "https://github.com/fdncred/nu_plugin_regex"; - license = licenses.mit; - maintainers = with maintainers; [ aidalgol ]; - platforms = with platforms; all; - }; -}