nushellPlugins.regex: remove

The current version in nixpkgs is no longer compatible with the current
version of Nushell, and upstream is tracking the development branch of
Nushell, and is incompatible with the stable release of Nushell.

Background: https://github.com/fdncred/nu_plugin_regex/issues/3

This only made it into nixpkgs because there was a window in which the
Nushell plugin API in the released version and the version used by this
plugin were compatible.
This commit is contained in:
Aidan Gauland 2024-03-09 22:16:49 +13:00
parent 7b9f4b6feb
commit ccd2165aec
No known key found for this signature in database
GPG key ID: 16E68DD2D0E77C91
2 changed files with 1 additions and 36 deletions

View file

@ -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; };
})

View file

@ -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;
};
}