Merge pull request #118478 from tomjnixon/allow-overriding-mopidy-packages
mopidy: allow overriding in mopidyPackages scope
This commit is contained in:
commit
60262e6cef
|
@ -1,46 +1,39 @@
|
|||
{ newScope, python }:
|
||||
{ lib, newScope, python }:
|
||||
|
||||
# Create a custom scope so we are consistent in which python version is used
|
||||
lib.makeScope newScope (self: with self; {
|
||||
inherit python;
|
||||
pythonPackages = python.pkgs;
|
||||
|
||||
let
|
||||
callPackage = newScope self;
|
||||
mopidy = callPackage ./mopidy.nix { };
|
||||
|
||||
self = {
|
||||
mopidy-iris = callPackage ./iris.nix { };
|
||||
|
||||
inherit python;
|
||||
pythonPackages = python.pkgs;
|
||||
mopidy-local = callPackage ./local.nix { };
|
||||
|
||||
mopidy = callPackage ./mopidy.nix { };
|
||||
mopidy-moped = callPackage ./moped.nix { };
|
||||
|
||||
mopidy-iris = callPackage ./iris.nix { };
|
||||
mopidy-mopify = callPackage ./mopify.nix { };
|
||||
|
||||
mopidy-local = callPackage ./local.nix { };
|
||||
mopidy-mpd = callPackage ./mpd.nix { };
|
||||
|
||||
mopidy-moped = callPackage ./moped.nix { };
|
||||
mopidy-mpris = callPackage ./mpris.nix { };
|
||||
|
||||
mopidy-mopify = callPackage ./mopify.nix { };
|
||||
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
|
||||
|
||||
mopidy-mpd = callPackage ./mpd.nix { };
|
||||
mopidy-scrobbler = callPackage ./scrobbler.nix { };
|
||||
|
||||
mopidy-mpris = callPackage ./mpris.nix { };
|
||||
mopidy-somafm = callPackage ./somafm.nix { };
|
||||
|
||||
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
|
||||
mopidy-soundcloud = callPackage ./soundcloud.nix { };
|
||||
|
||||
mopidy-scrobbler = callPackage ./scrobbler.nix { };
|
||||
mopidy-spotify = callPackage ./spotify.nix { };
|
||||
|
||||
mopidy-somafm = callPackage ./somafm.nix { };
|
||||
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
|
||||
|
||||
mopidy-soundcloud = callPackage ./soundcloud.nix { };
|
||||
mopidy-tunein = callPackage ./tunein.nix { };
|
||||
|
||||
mopidy-spotify = callPackage ./spotify.nix { };
|
||||
mopidy-youtube = callPackage ./youtube.nix { };
|
||||
|
||||
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
|
||||
|
||||
mopidy-tunein = callPackage ./tunein.nix { };
|
||||
|
||||
mopidy-youtube = callPackage ./youtube.nix { };
|
||||
|
||||
mopidy-subidy = callPackage ./subidy.nix { };
|
||||
};
|
||||
|
||||
in self
|
||||
mopidy-subidy = callPackage ./subidy.nix { };
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue