2023-01-11 15:55:40 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
2023-05-25 11:49:37 +00:00
|
|
|
, fetchPypi
|
2023-01-11 15:55:40 +00:00
|
|
|
, mopidy
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "Mopidy-Tidal";
|
|
|
|
version = "0.3.2";
|
|
|
|
|
2023-05-25 11:49:37 +00:00
|
|
|
src = fetchPypi {
|
2023-01-11 15:55:40 +00:00
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
|
|
|
python3Packages.tidalapi
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2023-01-11 15:55:40 +00:00
|
|
|
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;
|
2023-09-03 23:11:42 +00:00
|
|
|
maintainers = [ ];
|
2023-01-11 15:55:40 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|