Unverified Commit cdf1ea55 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #211284 from rodrgz/mopidy-tidal

mopidy-tidal: init at 0.3.2
parents 53404668 500f3b94
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ lib.makeScope newScope (self: with self; {

  mopidy-soundcloud = callPackage ./soundcloud.nix { };

  mopidy-tidal = callPackage ./tidal.nix { };

  mopidy-tunein = callPackage ./tunein.nix { };

  mopidy-youtube = callPackage ./youtube.nix { };
+35 −0
Original line number Diff line number Diff line
{ lib
, python3Packages
, mopidy
}:

python3Packages.buildPythonApplication rec {
  pname = "Mopidy-Tidal";
  version = "0.3.2";

  src = python3Packages.fetchPypi {
    inherit pname version;
    hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc=";
  };

  propagatedBuildInputs = [
    mopidy
    python3Packages.tidalapi
  ];

  checkInputs = with python3Packages; [
    pytestCheckHook
    pytest-mock
  ];

  pytestFlagsArray = [ "tests/" ];

  meta = with lib; {
    description = "Mopidy extension for playing music from Tidal";
    homepage = "https://github.com/tehkillerbee/mopidy-tidal";
    license = licenses.mit;
    maintainers = [ maintainers.rodrgz ];
  };
}

+1 −0
Original line number Diff line number Diff line
@@ -30984,6 +30984,7 @@ with pkgs;
    mopidy-somafm
    mopidy-soundcloud
    mopidy-subidy
    mopidy-tidal
    mopidy-tunein
    mopidy-youtube
    mopidy-ytmusic;