python312Packages.typing-utils: init at 0.1.0

This commit is contained in:
Wulpey 2025-05-29 17:54:53 +03:00
parent bb94f544b0
commit 5e1e35996b
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "typing-utils";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bojiang";
repo = "typing_utils";
tag = "v${version}";
hash = "sha256-eXVGpe1wCH1JG+7ZP0evlxhw189GrrRzTwNDCALn3JI=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "typing_utils" ];
meta = {
description = "Utils to inspect Python type annotations";
homepage = "https://github.com/bojiang/typing_utils";
changelog = "https://github.com/bojiang/typing_utils/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ wulpine ];
};
}

View File

@ -18637,6 +18637,8 @@ self: super: with self; {
typing-inspection = callPackage ../development/python-modules/typing-inspection { };
typing-utils = callPackage ../development/python-modules/typing-utils { };
typing-validation = callPackage ../development/python-modules/typing-validation { };
typish = callPackage ../development/python-modules/typish { };