python313Packages.aiosendspin: 2.1.0 -> 4.4.0

This commit is contained in:
Sandro Jäckel
2026-04-13 01:45:02 +02:00
parent 67ccbd4dc7
commit 33d78b9e27
@@ -10,27 +10,37 @@
aiohttp,
av,
mashumaro,
numpy,
orjson,
pillow,
zeroconf,
# test dependencies
pytest-aiohttp,
pytest-cov-stub,
pytest-timeout,
pytest-xdist,
pytestCheckHook,
# meta
music-assistant,
nixosTests,
}:
buildPythonPackage rec {
pname = "aiosendspin";
version = "2.1.0";
version = "4.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Sendspin";
repo = "aiosendspin";
tag = version;
hash = "sha256-9VhNtfXH2r/cGkscz51PIK2/66pPOGv0S0IpO0wFvO4=";
hash = "sha256-7edFCGNbECW5rrTbF7vJ4lJUc2IrQZD9VTR3IxJRP08=";
};
# https://github.com/Sendspin/aiosendspin/blob/1.2.0/pyproject.toml#L7
# https://github.com/Sendspin/aiosendspin/blob/4.4.0/pyproject.toml#L7
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
@@ -44,19 +54,29 @@ buildPythonPackage rec {
aiohttp
av
mashumaro
numpy
orjson
pillow
zeroconf
];
doCheck = false; # no tests
nativeCheckInputs = [
pytest-aiohttp
pytest-cov-stub
pytest-timeout
pytest-xdist
pytestCheckHook
];
pythonImportsCheck = [
"aiosendspin"
];
# needs manual compat testing with music-assistant (sendspin provider)
passthru.skipBulkUpdate = true; # nixpkgs-update: no auto update
passthru = {
# needs manual compat testing with music-assistant (sendspin provider)
skipBulkUpdate = true; # nixpkgs-update: no auto update
tests = nixosTests.music-assistant;
};
meta = {
changelog = "https://github.com/Sendspin/aiosendspin/releases/tag/${src.tag}";