Merge pull request #304437 from r-ryantm/auto-update/python312Packages.griffe

python312Packages.griffe: 0.42.1 -> 0.42.2
This commit is contained in:
Fabian Affolter 2024-04-16 09:55:08 +02:00 committed by GitHub
commit 2fd19c8be2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,19 @@
{ lib {
, aiofiles lib,
, buildPythonPackage aiofiles,
, colorama buildPythonPackage,
, fetchFromGitHub colorama,
, git fetchFromGitHub,
, jsonschema git,
, pdm-backend jsonschema,
, pytestCheckHook pdm-backend,
, pythonOlder pytestCheckHook,
pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "griffe"; pname = "griffe";
version = "0.42.1"; version = "0.42.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,16 +22,12 @@ buildPythonPackage rec {
owner = "mkdocstrings"; owner = "mkdocstrings";
repo = "griffe"; repo = "griffe";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-KaD3j96FJJx43m/nfHa4kAft4FcDOdq+2dsiaMY7PPY="; hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k=";
}; };
nativeBuildInputs = [ build-system = [ pdm-backend ];
pdm-backend
];
propagatedBuildInputs = [ dependencies = [ colorama ];
colorama
];
nativeCheckInputs = [ nativeCheckInputs = [
git git
@ -39,21 +36,17 @@ buildPythonPackage rec {
]; ];
passthru.optional-dependencies = { passthru.optional-dependencies = {
async = [ async = [ aiofiles ];
aiofiles
];
}; };
pythonImportsCheck = [ pythonImportsCheck = [ "griffe" ];
"griffe"
];
meta = with lib; { meta = with lib; {
description = "Signatures for entire Python programs"; description = "Signatures for entire Python programs";
mainProgram = "griffe";
homepage = "https://github.com/mkdocstrings/griffe"; homepage = "https://github.com/mkdocstrings/griffe";
changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md"; changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md";
license = licenses.isc; license = licenses.isc;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
mainProgram = "griffe";
}; };
} }