13 version = "0-unstable-2024-08-20";
15 src = fetchFromGitHub {
16 owner = "Ajatt-Tools";
18 rev = "249122d245bc5ec2a0687346af730b1cc2273b21";
19 hash = "sha256-VSMFddi8Lvmipo8Un79v+LXGNiKeaSxHQ44HddJgTkE=";
24 substituteInPlace platform.lua \
25 --replace \'curl\' \'${lib.getExe curl}\' \
27 + lib.optionalString stdenv.hostPlatform.isLinux ''
28 --replace xclip ${lib.getExe xclip} \
29 --replace wl-copy ${lib.getExe' wl-clipboard "wl-copy"}
33 passthru.scriptName = "videoclip";
34 passthru.updateScript = unstableGitUpdater { };
37 description = "Easily create videoclips with mpv";
38 homepage = "https://github.com/Ajatt-Tools/videoclip";
39 license = licenses.gpl3Plus;
40 platforms = platforms.all;
41 maintainers = with maintainers; [ BatteredBunny ];