gnome-mpv: add python3 for install script

Meson no longer propagates it so we need to re-add it.
This commit is contained in:
Jan Tojnar 2018-09-03 22:38:13 +02:00
parent 18f3e11880
commit 19225529c9
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, meson, ninja
{ stdenv, fetchFromGitHub, meson, ninja, python3
, gettext, pkgconfig, desktop-file-utils, wrapGAppsHook
, appstream-glib, epoxy, glib, gtk3, mpv
}:
@ -15,13 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "1cjhw3kz163iwj2japhnv354i1lr112xyyfkxw82cwy2554cfim4";
};
nativeBuildInputs = [ meson ninja appstream-glib gettext pkgconfig desktop-file-utils wrapGAppsHook ];
nativeBuildInputs = [ meson ninja python3 appstream-glib gettext pkgconfig desktop-file-utils wrapGAppsHook ];
buildInputs = [ epoxy glib gtk3 mpv ];
enableParallelBuilding = true;
postPatch = ''
patchShebangs .
patchShebangs meson_post_install.py
patchShebangs src/generate_authors.py
sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
'';