From 8d28e4bd08d19378d709adf4e10aaa9300a40957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 10 Apr 2026 08:34:35 -0700 Subject: [PATCH] python3Packages.pydevccu: 0.1.21 -> 0.2.3 Diff: https://github.com/SukramJ/pydevccu/compare/0.1.21...0.2.3 Changelog: https://github.com/SukramJ/pydevccu/releases/tag/0.2.3 --- .../python-modules/pydevccu/default.nix | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pydevccu/default.nix b/pkgs/development/python-modules/pydevccu/default.nix index 5d3c56fabcc3..e1f597b27955 100644 --- a/pkgs/development/python-modules/pydevccu/default.nix +++ b/pkgs/development/python-modules/pydevccu/default.nix @@ -1,15 +1,18 @@ { lib, + aiohttp, buildPythonPackage, fetchFromGitHub, orjson, + pytest-asyncio, + pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage (finalAttrs: { pname = "pydevccu"; - version = "0.1.21"; + version = "0.2.3"; pyproject = true; disabled = pythonOlder "3.13"; @@ -18,22 +21,21 @@ buildPythonPackage (finalAttrs: { owner = "SukramJ"; repo = "pydevccu"; tag = finalAttrs.version; - hash = "sha256-RroFOnGOU7JDpe2mv44jKhyduT4jg8ySYtdhhPrSfvw="; + hash = "sha256-dOk0Sb7RR21Mzke+wkhEca8HMVt7pcU5eXs/hzojFBQ="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "setuptools==75.6.0" setuptools - ''; - - pythonRelaxDeps = [ "orjson" ]; - build-system = [ setuptools ]; - dependencies = [ orjson ]; + dependencies = [ aiohttp ]; - # Module has no tests - doCheck = false; + optional-dependencies = { + fast = [ orjson ]; + }; + + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; pythonImportsCheck = [ "pydevccu" ];