nixos-configs/scopedPackages/mpv-scripts/kdialog-open-files/default.nix

28 lines
767 B
Nix
Raw Permalink Normal View History

2023-12-16 21:51:43 -05:00
{
2025-02-18 15:19:08 -05:00
# nix build inputs
lib,
2023-12-16 21:51:43 -05:00
buildLua,
2025-02-18 15:19:08 -05:00
fetchurl,
...
2023-12-16 21:51:43 -05:00
}:
buildLua rec {
pname = "zenity-open-files";
version = "0.0.0";
2023-12-16 21:51:43 -05:00
unpackPhase = ":";
src = fetchurl {
url = "https://gist.githubusercontent.com/ntasos/d1d846abd7d25e4e83a78d22ee067a22/raw/b23b20e830bba024836f8b09412000658edee95c/kdialog-open-files.lua";
hash = "sha256-qJ/Myx0mdaRsWWd+4Mk1/SUSSI/uqQdg/vLZo2pkEwA=";
};
scriptPath = "${src}";
2025-02-18 15:19:08 -05:00
meta = {
license = lib.licenses.unlicense;
homepage = "https://gist.github.com/ntasos/d1d846abd7d25e4e83a78d22ee067a22";
description = ''
Use KDE KDialog to add files to playlist, subtitles to playing video or open URLs.
Based on 'mpv-open-file-dialog' <https://github.com/rossy/mpv-open-file-dialog>.
'';
};
2023-12-16 21:51:43 -05:00
}