python312Packages.aiostreammagic: init at 2.2.5 (#341375)

This commit is contained in:
Fabian Affolter 2024-09-12 23:22:15 +02:00 committed by GitHub
commit 0c5f590d39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
orjson,
poetry-core,
pythonOlder,
websockets,
yarl,
}:
buildPythonPackage rec {
pname = "aiostreammagic";
version = "2.2.5";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "noahhusby";
repo = "aiostreammagic";
rev = "refs/tags/${version}";
hash = "sha256-fJiP16LvHuYlSkeq/SijWI8YEX8T4lGDJLAVvKplgHI=";
};
pythonRelaxDeps = [ "websockets" ];
build-system = [ poetry-core ];
dependencies = [
aiohttp
mashumaro
orjson
websockets
yarl
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "aiostreammagic" ];
meta = {
description = "Module for interfacing with Cambridge Audio/Stream Magic compatible streamers";
homepage = "https://github.com/noahhusby/aiostreammagic";
changelog = "https://github.com/noahhusby/aiostreammagic/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View File

@ -443,6 +443,8 @@ self: super: with self; {
aiostream = callPackage ../development/python-modules/aiostream { }; aiostream = callPackage ../development/python-modules/aiostream { };
aiostreammagic = callPackage ../development/python-modules/aiostreammagic { };
aioswitcher = callPackage ../development/python-modules/aioswitcher { }; aioswitcher = callPackage ../development/python-modules/aioswitcher { };
aiosyncthing = callPackage ../development/python-modules/aiosyncthing { }; aiosyncthing = callPackage ../development/python-modules/aiosyncthing { };