python312Packages.json-schema-for-humans: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-09 10:03:13 +02:00
parent fe6d7b04bd
commit 96d18bf71b

View File

@ -1,20 +1,21 @@
{ lib {
, beautifulsoup4 lib,
, buildPythonPackage beautifulsoup4,
, click buildPythonPackage,
, dataclasses-json click,
, fetchFromGitHub dataclasses-json,
, htmlmin fetchFromGitHub,
, jinja2 htmlmin,
, markdown2 jinja2,
, poetry-core markdown2,
, pygments poetry-core,
, pytestCheckHook pygments,
, pythonOlder pytestCheckHook,
, pythonRelaxDepsHook pythonOlder,
, pytz pythonRelaxDepsHook,
, pyyaml pytz,
, requests pyyaml,
requests,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -31,17 +32,11 @@ buildPythonPackage rec {
hash = "sha256-ZlGIttfFOL4uLgzXIFvmyFDGrm8/Vr94QaFSn4/5ITI="; hash = "sha256-ZlGIttfFOL4uLgzXIFvmyFDGrm8/Vr94QaFSn4/5ITI=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [ "dataclasses-json" ];
"dataclasses-json"
];
build-system = [ build-system = [ poetry-core ];
poetry-core
];
nativeBuildInputs = [ nativeBuildInputs = [ pythonRelaxDepsHook ];
pythonRelaxDepsHook
];
dependencies = [ dependencies = [
click click
@ -67,9 +62,7 @@ buildPythonPackage rec {
"TestMdGenerate" "TestMdGenerate"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "json_schema_for_humans" ];
"json_schema_for_humans"
];
meta = with lib; { meta = with lib; {
description = "Quickly generate HTML documentation from a JSON schema"; description = "Quickly generate HTML documentation from a JSON schema";