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

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

30 lines
701 B
Nix
Raw Normal View History

{ lib, fetchPypi, pythonPackages, mopidy }:
2022-12-26 01:24:27 +00:00
pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Notify";
2024-01-23 20:10:58 +00:00
version = "0.2.1";
2022-12-26 01:24:27 +00:00
src = fetchPypi {
2022-12-26 01:24:27 +00:00
inherit pname version;
2024-01-23 20:10:58 +00:00
sha256 = "sha256-8FT4O4k0wEsdHA1vJaOW9UamJ3QLyO47HwL5XcSU3Pc=";
2022-12-26 01:24:27 +00:00
};
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 ];
};
}