Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
36 lines
670 B
Nix
36 lines
670 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchPypi
|
|
, mopidy
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "Mopidy-Tidal";
|
|
version = "0.3.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
mopidy
|
|
python3Packages.tidalapi
|
|
];
|
|
|
|
nativeCheckInputs = 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 = [ ];
|
|
};
|
|
}
|
|
|
|
|