From 9a579caaaf50a1db11c82b664c331abf4d1b329b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 21 Apr 2025 10:40:27 -0700 Subject: [PATCH] python313Packages.async-lru: 2.0.4 -> 2.0.5 Diff: https://github.com/aio-libs/async-lru/compare/refs/tags/v2.0.4...refs/tags/v2.0.5 Changelog: https://github.com/aio-libs/async-lru/releases/tag/v2.0.5 --- .../python-modules/async-lru/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/async-lru/default.nix b/pkgs/development/python-modules/async-lru/default.nix index fcf7ef5207f4..e86fa73e88e4 100644 --- a/pkgs/development/python-modules/async-lru/default.nix +++ b/pkgs/development/python-modules/async-lru/default.nix @@ -3,40 +3,41 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, + setuptools, typing-extensions, pytestCheckHook, pytest-asyncio, + pytest-cov-stub, + pytest-timeout, }: buildPythonPackage rec { pname = "async-lru"; - version = "2.0.4"; - - disabled = pythonOlder "3.8"; - - format = "setuptools"; + version = "2.0.5"; + pyproject = true; src = fetchFromGitHub { owner = "aio-libs"; repo = "async-lru"; tag = "v${version}"; - hash = "sha256-S2sOkgtS+YdMtVP7UHD3+oR8Fem8roLhhgVVfh33PcM="; + hash = "sha256-FJ1q6W9IYs0OSMZc+bI4v22hOAAWAv2OW3BAqixm8Hs="; }; - propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ typing-extensions ]; + build-system = [ setuptools ]; - postPatch = '' - sed -i -e '/^addopts/d' -e '/^filterwarnings/,+2d' setup.cfg - ''; + dependencies = lib.optionals (pythonOlder "3.11") [ typing-extensions ]; nativeCheckInputs = [ pytestCheckHook pytest-asyncio + pytest-cov-stub + pytest-timeout ]; pythonImportsCheck = [ "async_lru" ]; meta = with lib; { + changelog = "https://github.com/aio-libs/async-lru/releases/tag/${src.tag}"; description = "Simple lru cache for asyncio"; homepage = "https://github.com/wikibusiness/async_lru"; license = licenses.mit;