nixpkgs/pkgs/applications/audio/mopidy/tidal.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
670 B
Nix
Raw Normal View History

2023-01-11 15:55:40 +00:00
{ lib
, python3Packages
, fetchPypi
2023-01-11 15:55:40 +00:00
, mopidy
}:
python3Packages.buildPythonApplication rec {
pname = "Mopidy-Tidal";
version = "0.3.2";
src = fetchPypi {
2023-01-11 15:55:40 +00:00
inherit pname version;
hash = "sha256-ekqhzKyU2WqTOeRR1ZSZA9yW3UXsLBsC2Bk6FZrQgmc=";
};
propagatedBuildInputs = [
mopidy
python3Packages.tidalapi
];
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;
maintainers = [ ];
2023-01-11 15:55:40 +00:00
};
}