nixpkgs/pkgs/applications/audio/mopidy/default.nix
Thomas Nixon 56a9a8c659 mopidy: allow overriding in mopidyPackages scope
In the previous implementation, overrideScope' etc. was not exposed in
mopidyPackages, which made it annoying to override the mopidy package,
as the other packages in the scope would not pick up the changes,
causing conflicts.
2021-04-11 22:23:24 +01:00

40 lines
1,020 B
Nix

{ 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;
mopidy = callPackage ./mopidy.nix { };
mopidy-iris = callPackage ./iris.nix { };
mopidy-local = callPackage ./local.nix { };
mopidy-moped = callPackage ./moped.nix { };
mopidy-mopify = callPackage ./mopify.nix { };
mopidy-mpd = callPackage ./mpd.nix { };
mopidy-mpris = callPackage ./mpris.nix { };
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
mopidy-scrobbler = callPackage ./scrobbler.nix { };
mopidy-somafm = callPackage ./somafm.nix { };
mopidy-soundcloud = callPackage ./soundcloud.nix { };
mopidy-spotify = callPackage ./spotify.nix { };
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
mopidy-tunein = callPackage ./tunein.nix { };
mopidy-youtube = callPackage ./youtube.nix { };
mopidy-subidy = callPackage ./subidy.nix { };
})