10 src = fetchFromGitHub {
14 hash = "sha256-XlP8bGlftyNHoJI+yiVHVvd2Qa80miJdXqt+qljYNys=";
17 vendorHash = "sha256-G6GZO2+CfEAYcf7zBcqDa808A0eJjM8dq7+4VGZ+P4c=";
19 ldflags = [ "-s" "-w" ];
22 install -Dm444 -t $out/share/applications scripts/open-in-mpv.desktop
26 description = "Simple web extension to open videos in mpv";
28 To function the browser extension must be installed and open-in-mpv must be set as the default scheme-handler for mpv:// eg.:
29 xdg-mime default open-in-mpv.desktop x-scheme-handler/mpv
31 https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv/
32 https://chrome.google.com/webstore/detail/open-in-mpv/ggijpepdpiehgbiknmfpfbhcalffjlbj
34 homepage = "https://github.com/Baldomo/open-in-mpv";
35 license = licenses.gpl3Only;
36 maintainers = with maintainers; [ SuperSandro2000 ];
37 mainProgram = "open-in-mpv";