celluloid: 0.21 -> 0.22

This commit is contained in:
Martino Fontana 2022-01-04 11:11:42 +01:00
parent 0432195a4b
commit 8bc63f2ff8

View file

@ -4,48 +4,50 @@
, appstream-glib , appstream-glib
, desktop-file-utils , desktop-file-utils
, libepoxy , libepoxy
, gettext
, glib , glib
, gtk3 , gtk4
, wayland
, meson , meson
, mpv , mpv
, ninja , ninja
, nix-update-script , nix-update-script
, pkg-config , pkg-config
, python3 , python3
, wrapGAppsHook , wrapGAppsHook4
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "celluloid"; pname = "celluloid";
version = "0.21"; version = "0.22";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "celluloid-player"; owner = "celluloid-player";
repo = "celluloid"; repo = "celluloid";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-1Jeg1uqWxURGKR/Xg4j4roZ9Pg5MR7geyttdzlOU+rA="; hash = "sha256-QGN8YLtyb9YVNDK2ZDQwHJVg6UTIQssfNK9lQqxMNKQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
appstream-glib appstream-glib
desktop-file-utils desktop-file-utils
gettext
meson meson
ninja ninja
pkg-config pkg-config
python3 python3
wrapGAppsHook wrapGAppsHook4
]; ];
buildInputs = [ buildInputs = [
libepoxy libepoxy
glib glib
gtk3 gtk4
wayland
mpv mpv
]; ];
postPatch = '' postPatch = ''
patchShebangs meson-post-install.py src/generate-authors.py patchShebangs meson-post-install.py src/generate-authors.py
# Remove this for next release
substituteInPlace meson-post-install.py --replace "gtk-update-icon-cache" "gtk4-update-icon-cache"
''; '';
doCheck = true; doCheck = true;