depot/third_party/nixpkgs/pkgs/applications/audio/mopidy/tidal.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

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 = [ ];
};
}