python312Packages.griffe: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-16 09:07:13 +02:00
parent e5af57fcb1
commit 46b289ab1e

View File

@ -1,13 +1,14 @@
{ 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 {
@ -24,13 +25,9 @@ buildPythonPackage rec {
hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k="; hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k=";
}; };
build-system = [ build-system = [ pdm-backend ];
pdm-backend
];
dependencies = [ dependencies = [ colorama ];
colorama
];
nativeCheckInputs = [ nativeCheckInputs = [
git git
@ -39,14 +36,10 @@ 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";