Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
797 B
Nix
43 lines
797 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
pythonPackages,
|
|
mopidy,
|
|
}:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-notify";
|
|
version = "0.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Mopidy-Notify";
|
|
hash = "sha256-8FT4O4k0wEsdHA1vJaOW9UamJ3QLyO47HwL5XcSU3Pc=";
|
|
};
|
|
|
|
build-system = [
|
|
pythonPackages.setuptools
|
|
];
|
|
|
|
pythonRelaxDeps = [ "pykka" ];
|
|
|
|
dependencies = [
|
|
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 = [ ];
|
|
};
|
|
}
|