Files
nixpkgs/pkgs/shells/nushell/plugins/desktop_notifications.nix
T

32 lines
849 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nu_plugin_desktop_notifications";
version = "0.108.0";
src = fetchFromGitHub {
owner = "FMotalleb";
repo = "nu_plugin_desktop_notifications";
tag = "v${finalAttrs.version}";
hash = "sha256-9NkWPoTdMxFlI/BkP8w0ltC6UVh3/tg9gjwBuS3k/Cg=";
};
cargoHash = "sha256-GK6ytH/SDHh6GlLrSA2oJLza1tvYOUp4cR5CM6bloz8=";
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;
};
})