From 2dd4de66564cee1f1d6867139e8b2a79213e54e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 22 May 2026 01:40:49 +0200 Subject: [PATCH] python314Packages.aiosendspin: 4.4.0 -> 6.0.5 Diff: https://github.com/Sendspin/aiosendspin/compare/4.4.0...6.0.5 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.0.0 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.1.0 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.1.1 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.1.2 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.2.0 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/5.3.0 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.0 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.1 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.2 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.3 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.4 Changelog: https://github.com/Sendspin/aiosendspin/releases/tag/6.0.5 --- .../python-modules/aiosendspin/default.nix | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiosendspin/default.nix b/pkgs/development/python-modules/aiosendspin/default.nix index c56e51a03d3f..3f661ddceaa2 100644 --- a/pkgs/development/python-modules/aiosendspin/default.nix +++ b/pkgs/development/python-modules/aiosendspin/default.nix @@ -29,17 +29,17 @@ buildPythonPackage (finalAttrs: { pname = "aiosendspin"; - version = "4.4.0"; + version = "6.0.5"; pyproject = true; src = fetchFromGitHub { owner = "Sendspin"; repo = "aiosendspin"; tag = finalAttrs.version; - hash = "sha256-7edFCGNbECW5rrTbF7vJ4lJUc2IrQZD9VTR3IxJRP08="; + hash = "sha256-veX6MZSqEQb+tEqZTEgdCObLdaVPJEdTFW5Ivmb0TNQ="; }; - # https://github.com/Sendspin/aiosendspin/blob/4.4.0/pyproject.toml#L7 + # https://github.com/Sendspin/aiosendspin/blob/5.3.0/pyproject.toml#L27 postPatch = '' substituteInPlace pyproject.toml \ --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' @@ -54,20 +54,26 @@ buildPythonPackage (finalAttrs: { dependencies = [ aiohttp - av mashumaro - numpy orjson - pillow zeroconf ]; + optional-dependencies = { + server = [ + av + numpy + pillow + ]; + }; + nativeCheckInputs = [ pytest-aiohttp pytest-cov-stub pytest-xdist pytestCheckHook - ]; + ] + ++ finalAttrs.passthru.optional-dependencies.server; pythonImportsCheck = [ "aiosendspin"