python3Packages.aiosendspin: init at 1.1.4; python3Packages.aiovban: init at 0.6.2 (#472048)

This commit is contained in:
Emily
2025-12-20 20:50:28 +00:00
committed by GitHub
3 changed files with 100 additions and 0 deletions
@@ -0,0 +1,59 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
aiohttp,
av,
mashumaro,
orjson,
pillow,
zeroconf,
# meta
music-assistant,
}:
buildPythonPackage rec {
pname = "aiosendspin";
version = "1.1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Sendspin";
repo = "aiosendspin";
tag = version;
hash = "sha256-/Li8EOH814D/1TiVVNy2khCYJVoLD1mL7pYIuZ7UX6Q=";
};
build-system = [
setuptools
];
dependencies = [
aiohttp
av
mashumaro
orjson
pillow
zeroconf
];
doCheck = false; # no tests
pythonImportsCheck = [
"aiosendspin"
];
meta = {
changelog = "https://github.com/Sendspin/aiosendspin/releases/tag/${src.tag}";
description = "Async Python library implementing the Sendspin Protocol";
homepage = "https://github.com/Sendspin/aiosendspin";
license = lib.licenses.asl20;
inherit (music-assistant.meta) maintainers;
};
}
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
music-assistant,
}:
buildPythonPackage {
pname = "aiovban";
version = "0.6.2";
pyproject = true;
src = fetchFromGitHub {
owner = "wmbest2";
repo = "aiovban";
# https://github.com/wmbest2/aiovban/issues/2
rev = "cdcf1ef3328493e600b4e8725a6071c0d180b36a";
hash = "sha256-w+pA3225mdPms/PpnJYKZYe6YHn0WMf83LupExgjJZ8=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"aiovban"
];
meta = {
description = "Asyncio VBAN Protocol Wrapper";
homepage = "https://github.com/wmbest2/aiovban";
license = lib.licenses.mit;
inherit (music-assistant.meta) maintainers;
};
}
+4
View File
@@ -478,6 +478,8 @@ self: super: with self; {
aiosasl = callPackage ../development/python-modules/aiosasl { };
aiosendspin = callPackage ../development/python-modules/aiosendspin { };
aiosenz = callPackage ../development/python-modules/aiosenz { };
aioserial = callPackage ../development/python-modules/aioserial { };
@@ -536,6 +538,8 @@ self: super: with self; {
aiousbwatcher = callPackage ../development/python-modules/aiousbwatcher { };
aiovban = callPackage ../development/python-modules/aiovban { };
aiovlc = callPackage ../development/python-modules/aiovlc { };
aiovodafone = callPackage ../development/python-modules/aiovodafone { };