{ lib, rustPlatform, fetchFromGitHub, nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "nu_plugin_desktop_notifications"; version = "0.106.1"; src = fetchFromGitHub { owner = "FMotalleb"; repo = "nu_plugin_desktop_notifications"; tag = "v${finalAttrs.version}"; hash = "sha256-FuiXHl7O6/DN7kENrVxOys8mJAGbpb11w9iJ+mqQ/ds="; }; cargoHash = "sha256-yFkiRGrg8eGGap5vyZVRMpddsoTYNrwSC94uLYufmdc="; passthru.updateScript = nix-update-script { }; meta = { description = "Nushell plugin for sending desktop notifications"; mainProgram = "nu_plugin_desktop_notifications"; homepage = "https://github.com/FMotalleb/nu_plugin_desktop_notifications"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ timon ]; platforms = lib.platforms.linux; }; })