python3Packages.mpris-api: init at 1.3.0

This commit is contained in:
Fabian Affolter
2026-04-14 22:50:25 +02:00
parent d5067b0ccb
commit 21466e775f
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{
lib,
buildPythonPackage,
dbus-next,
fetchFromBitbucket,
pytestCheckHook,
setuptools,
tunit,
unidecode,
}:
buildPythonPackage (finalAttrs: {
pname = "mpris-api";
version = "1.3.0";
pyproject = true;
src = fetchFromBitbucket {
owner = "massultidev";
repo = "mpris-api";
tag = finalAttrs.version;
hash = "sha256-tr1McOBGTKUVLFToFmb6j8NUzl5bCH8XsNgzZT9Jv7s=";
};
build-system = [ setuptools ];
dependencies = [
dbus-next
unidecode
tunit
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mpris_api" ];
meta = {
description = "Module provides an implementation of MPRIS DBus interface";
homepage = "https://bitbucket.org/massultidev/mpris-api/src/master/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
+2
View File
@@ -10274,6 +10274,8 @@ self: super: with self; {
mpmath = callPackage ../development/python-modules/mpmath { };
mpris-api = callPackage ../development/python-modules/mpris-api { };
mprisify = callPackage ../development/python-modules/mprisify { };
mpv = callPackage ../development/python-modules/mpv { inherit (pkgs) mpv; };