Skip to content

Commit

Permalink
python312Packages.async-cache: refactor (#369425)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb authored Dec 31, 2024
2 parents b4ce55d + bbb8791 commit 4a4790f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions pkgs/development/python-modules/async-cache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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 ];
};
}

0 comments on commit 4a4790f

Please sign in to comment.