python313Packages.trio-typing: init at 0.10.0

Type hints for Trio and related projects

https://github.com/python-trio/trio-typing
This commit is contained in:
Fabian Affolter
2025-10-09 00:58:49 +02:00
parent e643dd6b5f
commit cb8aa61a2b
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,50 @@
{
lib,
async-generator,
buildPythonPackage,
fetchFromGitHub,
importlib-metadata,
mypy-extensions,
setuptools,
trio,
typing-extensions,
}:
buildPythonPackage rec {
pname = "trio-typing";
version = "0.10.0";
pyproject = true;
src = fetchFromGitHub {
owner = "python-trio";
repo = "trio-typing";
tag = "v${version}";
hash = "sha256-6IhPdPj+bHzMyt3uyqfX2UOuCmV8lb6vmgdlc5+9/4g=";
};
build-system = [ setuptools ];
dependencies = [
async-generator
importlib-metadata
mypy-extensions
trio
typing-extensions
];
pythonImportsCheck = [ "trio_typing" ];
# Module has no test
doCheck = false;
meta = {
description = "Type hints for Trio and related projects";
homepage = "https://github.com/python-trio/trio-typing";
changelog = "https://github.com/python-trio/trio-typing/releases/tag/${src.tag}";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ fab ];
};
}
+2
View File
@@ -18773,6 +18773,8 @@ self: super: with self; {
trio-asyncio = callPackage ../development/python-modules/trio-asyncio { };
trio-typing = callPackage ../development/python-modules/trio-typing { };
trio-websocket = callPackage ../development/python-modules/trio-websocket { };
triton = callPackage ../development/python-modules/triton { llvm = pkgs.triton-llvm; };