mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
python3Packages.nest-asyncio2: init at 1.7.2
This commit is contained in:
39
pkgs/development/python-modules/nest-asyncio2/default.nix
Normal file
39
pkgs/development/python-modules/nest-asyncio2/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user