Merge pull request #211284 from rodrgz/mopidy-tidal

mopidy-tidal: init at 0.3.2
This commit is contained in:
Nick Cao 2023-01-19 09:19:47 +08:00 committed by GitHub
commit cdf1ea55a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View file

@ -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 { };

View file

@ -0,0 +1,35 @@
{ 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 ];
};
}

View file

@ -30984,6 +30984,7 @@ with pkgs;
mopidy-somafm
mopidy-soundcloud
mopidy-subidy
mopidy-tidal
mopidy-tunein
mopidy-youtube
mopidy-ytmusic;