python3Packages.nest-asyncio2: init at 1.7.2

This commit is contained in:
Stefan Haan
2026-08-18 15:21:54 +02:00
parent 709cb400a0
commit 11dca7aed0
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
setuptools-scm,
}:
buildPythonPackage (finalAttrs: {
pname = "nest-asyncio2";
version = "1.7.2";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "Chaoses-Ib";
repo = "nest-asyncio2";
tag = "v${finalAttrs.version}";
hash = "sha256-T7jUa4odhJZ1lpJjVmPrqur8ro2Iqccwf4khEb4ArGs=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nest_asyncio2" ];
meta = {
description = "Patch asyncio to allow nested event loops";
homepage = "https://github.com/Chaoses-Ib/nest-asyncio2";
changelog = "https://github.com/Chaoses-Ib/nest-asyncio2/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd2;
teams = [ lib.teams.jupyter ];
};
})

View File

@@ -11847,6 +11847,8 @@ self: super: with self; {
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };
nest-asyncio2 = callPackage ../development/python-modules/nest-asyncio2 { };
nested-lookup = callPackage ../development/python-modules/nested-lookup { };
nested-multipart-parser = callPackage ../development/python-modules/nested-multipart-parser { };