From 9cb3114a547a7234b341bb01caa811707cba831e Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Wed, 12 May 2021 09:08:50 -0300 Subject: [PATCH] celluloid: 0.20 -> 0.21 Also, adopts from worldofpeace (in memoriam?). --- pkgs/applications/video/celluloid/default.nix | 52 +++++++++---------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/pkgs/applications/video/celluloid/default.nix b/pkgs/applications/video/celluloid/default.nix index 838d306c685..f6bc0561b0c 100644 --- a/pkgs/applications/video/celluloid/default.nix +++ b/pkgs/applications/video/celluloid/default.nix @@ -1,42 +1,42 @@ -{ lib, stdenv +{ lib +, stdenv , fetchFromGitHub -, nix-update-script -, meson -, ninja -, python3 -, gettext -, pkg-config -, desktop-file-utils -, wrapGAppsHook , appstream-glib +, desktop-file-utils , epoxy +, gettext , glib , gtk3 +, meson , mpv +, ninja +, nix-update-script +, pkg-config +, python3 +, wrapGAppsHook }: stdenv.mkDerivation rec { pname = "celluloid"; - version = "0.20"; + version = "0.21"; src = fetchFromGitHub { owner = "celluloid-player"; repo = "celluloid"; rev = "v${version}"; - hash = "sha256-fEZnH8EqU6CykgKINXnKChuBUlisroa97B1vjcx2cWA="; + hash = "sha256-1Jeg1uqWxURGKR/Xg4j4roZ9Pg5MR7geyttdzlOU+rA="; }; nativeBuildInputs = [ + appstream-glib + desktop-file-utils + gettext meson ninja - python3 - appstream-glib - gettext pkg-config - desktop-file-utils + python3 wrapGAppsHook ]; - buildInputs = [ epoxy glib @@ -50,22 +50,20 @@ stdenv.mkDerivation rec { doCheck = true; - passthru = { - updateScript = nix-update-script { - attrPath = pname; - }; - }; - meta = with lib; { + homepage = "https://github.com/celluloid-player/celluloid"; description = "Simple GTK frontend for the mpv video player"; longDescription = '' - GNOME MPV interacts with mpv via the client API exported by libmpv, - allowing access to mpv's powerful playback capabilities through an - easy-to-use user interface. + Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv. + Celluloid interacts with mpv via the client API exported by libmpv, + allowing access to mpv's powerful playback capabilities. ''; - homepage = "https://github.com/celluloid-player/celluloid"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.linux; }; + + passthru.updateScript = nix-update-script { + attrPath = pname; + }; }