Merge pull request #207775 from lilyinstarlight/pkg/mopidy-notify

This commit is contained in:
Sandro 2023-01-18 23:10:48 +01:00 committed by GitHub
commit ba38d8bd37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 0 deletions

View File

@ -27,6 +27,8 @@ lib.makeScope newScope (self: with self; {
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
mopidy-notify = callPackage ./notify.nix { };
mopidy-podcast = callPackage ./podcast.nix { };
mopidy-scrobbler = callPackage ./scrobbler.nix { };

View File

@ -0,0 +1,29 @@
{ lib, pythonPackages, mopidy }:
pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Notify";
version = "0.2.0";
src = pythonPackages.fetchPypi {
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 ];
};
}

View File

@ -30975,6 +30975,7 @@ with pkgs;
mopidy-mpris
mopidy-muse
mopidy-musicbox-webclient
mopidy-notify
mopidy-podcast
mopidy-scrobbler
mopidy-somafm