Files
nixpkgs/pkgs/applications/video/mpv/scripts/mpv-notify-send.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

36 lines
774 B
Nix

{
lib,
buildLua,
fetchFromGitHub,
unstableGitUpdater,
libnotify,
}:
buildLua {
pname = "mpv-notify-send";
version = "0-unstable-2024-07-11";
src = fetchFromGitHub {
owner = "Parranoh";
repo = "mpv-notify-send";
rev = "d98d9fe566b222c5b909e3905e9e201eaec34959";
hash = "sha256-H8WIKfQnle27eiwnz2sxC8D1EwQplY4N7Qg5+c1e/uU=";
};
passthru.extraWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ libnotify ])
];
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Lua script for mpv to send notifications with notify-send";
homepage = "https://github.com/Parranoh/mpv-notify-send";
license = lib.licenses.wtfpl;
maintainers = with lib.maintainers; [ r3n3gad3p3arl ];
};
}