python312Packages.async-cache: refactor

natsukium bbb87916 d836dc6e

Changed files
+13 -4
pkgs
development
python-modules
async-cache
+13 -4
pkgs/development/python-modules/async-cache/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
setuptools,
+
pytestCheckHook,
}:
-
buildPythonPackage rec {
+
buildPythonPackage {
pname = "async-cache";
version = "1.1.1";
+
pyproject = true;
src = fetchFromGitHub {
owner = "iamsinghrajat";
···
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 ];
};
}