Skip to content

Commit

Permalink
gnome-mpv: use external patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Jun 16, 2019
1 parent ca51fbb commit 9e480c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
11 changes: 0 additions & 11 deletions pkgs/applications/video/gnome-mpv/appdata-validate.patch

This file was deleted.

9 changes: 7 additions & 2 deletions pkgs/applications/video/gnome-mpv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, meson, ninja, python3
{ stdenv, fetchFromGitHub, fetchpatch, meson, ninja, python3
, gettext, pkgconfig, desktop-file-utils, wrapGAppsHook
, appstream-glib, epoxy, glib, gtk3, mpv
}:
Expand All @@ -18,7 +18,12 @@ stdenv.mkDerivation rec {
buildInputs = [ epoxy glib gtk3 mpv ];

patches = [
./appdata-validate.patch
# fix appstream validation in sandbox
# https://github.com/celluloid-player/celluloid/pull/437
(fetchpatch {
url = https://github.com/celluloid-player/celluloid/commit/5a0b2e892bb715278d309c859a7e521d64433d85.patch;
sha256 = "0naci8lr6128yilal39h46yvq9x3la7g7fhvr5xlwyh30iqrbm3i";
})
];

postPatch = ''
Expand Down

0 comments on commit 9e480c5

Please sign in to comment.