Create an overlay to upgrade mopidy-youtube to 3.2
This commit is contained in:
parent
9c3a0621b1
commit
a46bb0e0cc
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue