Unverified Commit 4a4790f0 authored by Luke Granger-Brown's avatar Luke Granger-Brown Committed by GitHub
Browse files

python312Packages.async-cache: refactor (#369425)

parents b4ce55db bbb87916
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -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 ];
  };
}