From a2e8f476f927d549c43aad45f91f67acc39f2edd Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 20 Jun 2026 10:35:25 +0200 Subject: [PATCH] python3Packages.griffelib: 2.0.2 -> 2.1.0 https://github.com/mkdocstrings/griffe/releases/tag/2.1.0 --- .../python-modules/griffelib/default.nix | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/griffelib/default.nix b/pkgs/development/python-modules/griffelib/default.nix index 5ebee7b09a85..5aedae6d6a72 100644 --- a/pkgs/development/python-modules/griffelib/default.nix +++ b/pkgs/development/python-modules/griffelib/default.nix @@ -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";