11 src = fetchFromGitHub {
15 hash = "sha256-mr1c2L5D1v+4VoPA4i5q7/RCdWLLZ1UfTGayiG5Nm6M=";
18 vendorHash = "sha256-G6GZO2+CfEAYcf7zBcqDa808A0eJjM8dq7+4VGZ+P4c=";
26 install -Dm444 -t $out/share/applications scripts/open-in-mpv.desktop
30 description = "Simple web extension to open videos in mpv";
32 To function the browser extension must be installed and open-in-mpv must be set as the default scheme-handler for mpv:// eg.:
33 xdg-mime default open-in-mpv.desktop x-scheme-handler/mpv
35 https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv/
36 https://chrome.google.com/webstore/detail/open-in-mpv/ggijpepdpiehgbiknmfpfbhcalffjlbj
38 homepage = "https://github.com/Baldomo/open-in-mpv";
39 license = licenses.gpl3Only;
40 maintainers = with maintainers; [ SuperSandro2000 ];
41 mainProgram = "open-in-mpv";