nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 23.11 35 lines 849 B view raw
1{ stdenv 2, lib 3, rustPlatform 4, fetchFromGitHub 5, nix-update-script 6, IOKit 7}: 8 9rustPlatform.buildRustPackage { 10 pname = "nushell_plugin_regex"; 11 version = "unstable-2023-10-08"; 12 13 src = fetchFromGitHub { 14 owner = "fdncred"; 15 repo = "nu_plugin_regex"; 16 rev = "e1aa88e703f1f632ede685dd733472d34dd0c8e7"; 17 hash = "sha256-GJgnsaeNDJoJjw8RPw6wpEq1mIult18Eh4frl8Plgxc="; 18 }; 19 20 cargoHash = "sha256-AACpzSavY6MlYnl1lDYxVlfsEvEpNK0u8SzsoSZbqFc="; 21 22 buildInputs = lib.optionals stdenv.isDarwin [ IOKit ]; 23 24 passthru = { 25 updateScript = nix-update-script { }; 26 }; 27 28 meta = with lib; { 29 description = "A Nushell plugin to parse regular expressions"; 30 homepage = "https://github.com/fdncred/nu_plugin_regex"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ aidalgol ]; 33 platforms = with platforms; all; 34 }; 35}