python312Packages.mozart-api: init at 3.4.1.8.6

This commit is contained in:
Pyrox 2024-07-29 16:30:08 -04:00
parent 3a2592ce1e
commit b66f04e7df
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5
2 changed files with 61 additions and 0 deletions

View File

@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
poetry-core,
aenum,
aioconsole,
aiohttp,
inflection,
pydantic,
python-dateutil,
typing-extensions,
urllib3,
websockets,
zeroconf,
}:
buildPythonPackage rec {
pname = "mozart-api";
version = "3.4.1.8.6";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "mozart_api";
inherit version;
hash = "sha256-a0yjVS1FnR/n7Hjw/VRFztkUFD0gQQg7OXbyPTf+Kus=";
};
build-system = [ poetry-core ];
dependencies = [
aenum
aioconsole
aiohttp
inflection
pydantic
python-dateutil
typing-extensions
urllib3
websockets
zeroconf
];
# Package has no tests
doCheck = false;
pythonImportsCheck = [ "mozart_api" ];
meta = {
description = "REST API for the Bang & Olufsen Mozart platform";
homepage = "https://github.com/bang-olufsen/mozart-open-api";
changelog = "https://github.com/bang-olufsen/mozart-open-api/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
};
}

View File

@ -7946,6 +7946,8 @@ self: super: with self; {
mox3 = callPackage ../development/python-modules/mox3 { };
mozart-api = callPackage ../development/python-modules/mozart-api { };
mozilla-django-oidc = callPackage ../development/python-modules/mozilla-django-oidc { };
mpd2 = callPackage ../development/python-modules/mpd2 { };