2023-05-25 11:49:37 +00:00
|
|
|
{ lib, python3Packages, fetchPypi, mopidy }:
|
2021-01-01 00:53:38 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "Mopidy-Scrobbler";
|
|
|
|
version = "2.0.1";
|
|
|
|
|
2023-05-25 11:49:37 +00:00
|
|
|
src = fetchPypi {
|
2021-01-01 00:53:38 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ mopidy pylast ];
|
|
|
|
|
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "mopidy_scrobbler" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-01 00:53:38 +00:00
|
|
|
homepage = "https://github.com/mopidy/mopidy-scrobbler";
|
2024-06-07 07:40:42 +00:00
|
|
|
description = "Mopidy extension for scrobbling played tracks to Last.fm";
|
2021-01-01 00:53:38 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ jakeisnt ];
|
|
|
|
};
|
|
|
|
}
|