Files
nixpkgs/pkgs/development/python-modules/mozart-api/default.nix
T
dish 848e3ce95b python3Packages.mozart-api: 4.1.1.116.6 -> 5.1.0.247.1
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: dotlambda <github@dotlambda.de>
2025-12-03 10:44:31 -08:00

58 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
aenum,
aioconsole,
aiohttp,
aiohttp-retry,
inflection,
pydantic,
python-dateutil,
typing-extensions,
urllib3,
websockets,
zeroconf,
}:
buildPythonPackage rec {
pname = "mozart-api";
version = "5.1.0.247.1";
pyproject = true;
src = fetchPypi {
pname = "mozart_api";
inherit version;
hash = "sha256-//4mJh+Vf/NdnQmX19EOhn+Lx+BTMbZE5xwG6kXs84Y=";
};
build-system = [ poetry-core ];
dependencies = [
aioconsole
aiohttp
aiohttp-retry
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 ];
};
}