19 , youtubeSupport ? true
22 stdenv.mkDerivation (finalAttrs: {
26 src = fetchFromGitHub {
27 owner = "celluloid-player";
29 rev = "v${finalAttrs.version}";
30 hash = "sha256-zuYt7taIb4w3NIszUpnSYvLIdYQH492tBwhLa6IgWDw=";
53 patchShebangs meson-post-install.py src/generate-authors.py
56 preFixup = lib.optionalString youtubeSupport ''
58 --prefix PATH : "${lib.makeBinPath [ yt-dlp ]}"
66 passthru.updateScript = nix-update-script { };
69 homepage = "https://github.com/celluloid-player/celluloid";
70 description = "Simple GTK frontend for the mpv video player";
72 Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv.
73 Celluloid interacts with mpv via the client API exported by libmpv,
74 allowing access to mpv's powerful playback capabilities.
76 changelog = "https://github.com/celluloid-player/celluloid/releases/tag/${finalAttrs.src.rev}";
77 license = lib.licenses.gpl3Plus;
78 mainProgram = "celluloid";
79 maintainers = with lib.maintainers; [ AndersonTorres ];
80 platforms = lib.platforms.linux;