Merge pull request #294465 from aidalgol/nu-regex-plugin-remove

nushellPlugins.regex: remove
This commit is contained in:
Yt 2024-03-09 11:13:22 +00:00 committed by GitHub
commit 55c4083a69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
};
}