open-in-mpv: remove my patch which has been upstreamed, previously required to use xdg-open

This commit is contained in:
Colin 2024-02-18 04:52:27 +00:00
parent b855df902f
commit 536f0aedc3

View File

@ -2,19 +2,6 @@
{ pkgs, ... }:
{
sane.programs.open-in-mpv = {
packageUnwrapped = pkgs.open-in-mpv.overrideAttrs (upstream: {
patches = (upstream.patches or []) ++ [
(pkgs.fetchpatch {
# if i want `open-in-mpv 'mpv:///open?...'` to use a different executable than `mpv` (e.g. `xdg-open`),
# this patch is required.
# PR against upstream (merged 2024/02/15): <https://github.com/Baldomo/open-in-mpv/pull/26>
url = "https://git.uninsane.org/colin/open-in-mpv/commit/4d93d5fbdd3baebb6284c517cfe9fec9970c3002.patch";
name = "open-in-mpv: respect the player's `executable` config";
hash = "sha256-UkjR58mo4ifqGU2F1YhcJU14gX41XMaXwImbV+v7Tr8=";
})
];
});
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
sandbox.whitelistDbus = [ "user" ]; # for xdg-open/portals