Unverified Commit 0eb1ef86 authored by Defelo's avatar Defelo
Browse files

python312Packages.asyncer: init at 0.0.8

parent f55926cd
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pdm-backend,
  anyio,
  typing-extensions,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "asyncer";
  version = "0.0.8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "fastapi";
    repo = "asyncer";
    tag = version;
    hash = "sha256-SbByOiTYzp+G+SvsDqXOQBAG6nigtBXiQmfGgfKRqvM=";
  };

  build-system = [ pdm-backend ];

  dependencies = [
    anyio
    typing-extensions
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "asyncer" ];

  meta = {
    description = "Asyncer, async and await, focused on developer experience";
    homepage = "https://github.com/fastapi/asyncer";
    changelog = "https://github.com/fastapi/asyncer/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ defelo ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -991,6 +991,8 @@ self: super: with self; {
  asynccmd = callPackage ../development/python-modules/asynccmd { };
  asyncer = callPackage ../development/python-modules/asyncer { };
  asyncinotify = callPackage ../development/python-modules/asyncinotify { };
  asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };