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

Changed files
+11 -10
pkgs
development
python-modules
async-lru
+11 -10
pkgs/development/python-modules/async-lru/default.nix
···
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;