python312Packages.async-cache: refactor

This commit is contained in:
natsukium
2024-12-31 00:23:14 +09:00
parent d836dc6ebf
commit bbb879169e
@@ -2,11 +2,14 @@
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "async-cache";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "iamsinghrajat";
@@ -15,10 +18,16 @@ buildPythonPackage rec {
hash = "sha256-AVSdtWPs1c8AE5PNOq+BdXzBXkI0aeFVzxxPl/ATyU0=";
};
meta = with lib; {
build-system = [ setuptools ];
pythonImportsCheck = [ "cache" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Caching solution for asyncio";
homepage = "https://github.com/iamsinghrajat/async-cache";
license = licenses.mit;
maintainers = [ maintainers.lukegb ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.lukegb ];
};
}