python3Packages.griffelib: 2.0.2 -> 2.1.0

https://github.com/mkdocstrings/griffe/releases/tag/2.1.0
This commit is contained in:
Martin Weinelt
2026-06-20 10:40:44 +02:00
parent 882433ac43
commit a2e8f476f9
@@ -12,18 +12,24 @@
pip,
platformdirs,
wheel,
# tests
griffe,
jsonschema,
mkdocstrings,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "griffelib";
version = "2.0.2";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mkdocstrings";
repo = "griffe";
tag = finalAttrs.version;
hash = "sha256-Fxa9lrBVQ/enVLiU7hUc0d5x9ItI19EGnbxa7MX6Plc=";
hash = "sha256-hNKL86LSE9PwIofxt2t5PrlThiX7hTgYADK2HDVhNjk=";
};
sourceRoot = "${finalAttrs.src.name}/packages/griffelib";
@@ -44,6 +50,19 @@ buildPythonPackage (finalAttrs: {
"griffe"
];
nativeCheckInputs = [
griffe
jsonschema
mkdocstrings
pytestCheckHook
];
disabledTestPaths = [
# missing griffecli
"tests/test_api.py"
"tests/test_git.py"
];
meta = {
changelog = "https://github.com/mkdocstrings/griffe/releases/tag/${finalAttrs.src.tag}";
description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API";