Files
nixpkgs/pkgs/development/python-modules/async-lru/default.nix
T
Martin Weinelt d41ae1fa1c python3Packages.async-lru: 2.0.5 -> 2.1.0
https://github.com/aio-libs/async-lru/releases/tag/v2.1.0

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:15 +01:00

47 lines
994 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
typing-extensions,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
pytest-timeout,
}:
buildPythonPackage rec {
pname = "async-lru";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "async-lru";
tag = "v${version}";
hash = "sha256-ab0l3JrjMPudfMsn0Tu2UpvSt8HePEl8tYF2EybmXak=";
};
build-system = [ setuptools ];
dependencies = lib.optionals (pythonOlder "3.11") [ typing-extensions ];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
pytest-timeout
];
pythonImportsCheck = [ "async_lru" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}