2023-07-15 17:15:38 +00:00
|
|
|
{ lib, fetchPypi, pythonPackages, mopidy }:
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
|
|
pname = "Mopidy-Notify";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-01-20 10:41:00 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-lzZupjlS0kbNvsn18serOoMfu0sRb0nRwpowvOPvt/g=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
mopidy
|
|
|
|
pythonPackages.pydbus
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonPackages.pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mopidy_notify" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/phijor/mopidy-notify";
|
|
|
|
description = "Mopidy extension for showing desktop notifications on track change";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ lilyinstarlight ];
|
|
|
|
};
|
|
|
|
}
|