Create an overlay to upgrade mopidy-youtube to 3.2

This commit is contained in:
coolneng 2021-01-14 00:01:48 +01:00
parent 9c3a0621b1
commit a46bb0e0cc
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 11 additions and 1 deletions

View File

@ -4,6 +4,16 @@ let
soundcloud_token = soundcloud_token =
builtins.readFile /home/coolneng/.config/mopidy/soundcloud-auth; builtins.readFile /home/coolneng/.config/mopidy/soundcloud-auth;
latest-mopidy-youtube = pkgs.mopidy-youtube.overrideAttrs (old: rec {
pname = "mopidy-youtube";
version = "3.2";
src = pkgs.python3Packages.fetchPypi {
inherit version;
pname = "Mopidy-YouTube";
sha256 = "0wmalfqnskglssq3gj6kkrq6h6c9yab503y72afhkm7n9r5c57zz";
};
});
in { in {
# Enable ALSA # Enable ALSA
sound.enable = true; sound.enable = true;
@ -23,7 +33,7 @@ in {
extensionPackages = with pkgs; [ extensionPackages = with pkgs; [
mopidy-mpd mopidy-mpd
mopidy-soundcloud mopidy-soundcloud
mopidy-youtube latest-mopidy-youtube
mopidy-somafm mopidy-somafm
mopidy-local mopidy-local
]; ];