2020-08-01 21:31:20 +01:00
|
|
|
{ stdenv, python3Packages, mopidy }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "mopidy-tunein";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "Mopidy-TuneIn";
|
|
|
|
sha256 = "0insasf4w8ajsqjh5zmax7pkzmrk1p245vh4y8ddicldj45p6qfj";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests fail with "ValueError: Namespace Gst not available" in mopidy itself
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mopidy_tunein.tunein" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "Mopidy extension for playing music from tunein";
|
2020-08-01 21:31:20 +01:00
|
|
|
homepage = "https://github.com/kingosticks/mopidy-tunein";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|