2023-01-20 10:41:00 +00:00
|
|
|
{ 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
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2023-01-20 10:41:00 +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;
|
|
|
|
maintainers = [ maintainers.rodrgz ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|