python3Packages.griffe: 1.6.0 -> 1.7.3

This commit is contained in:
PerchunPak
2025-05-18 15:29:27 +02:00
parent ea3daf0790
commit d923e62ef1
@@ -6,32 +6,25 @@
fetchFromGitHub,
git,
jsonschema,
mkdocstrings,
pdm-backend,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "griffe";
version = "1.6.0";
version = "1.7.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "mkdocstrings";
repo = "griffe";
tag = version;
hash = "sha256-Cs3qJlF1k1cKmbH7bXkn8+XDRC0sZqVdrMPIw0dSWD8=";
hash = "sha256-H5bkS8NK96M2W+kH1KijmzVL5Y04KY9xc5Vw5l1lfws=";
};
build-system = [ pdm-backend ];
dependencies = [
colorama
mkdocstrings
];
dependencies = [ colorama ];
nativeCheckInputs = [
git
@@ -45,12 +38,17 @@ buildPythonPackage rec {
pythonImportsCheck = [ "griffe" ];
meta = with lib; {
disabledTestPaths = [
# Circular dependencies
"tests/test_api.py"
];
meta = {
description = "Signatures for entire Python programs";
homepage = "https://github.com/mkdocstrings/griffe";
changelog = "https://github.com/mkdocstrings/griffe/blob/${src.tag}/CHANGELOG.md";
license = licenses.isc;
maintainers = with maintainers; [ fab ];
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "griffe";
};
}