From fe6d7b04bd879d782b172e6efbef502a294b9ea0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 9 May 2024 10:02:42 +0200 Subject: [PATCH] python312Packages.json-schema-for-humans: refactor --- .../python-modules/json-schema-for-humans/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/json-schema-for-humans/default.nix b/pkgs/development/python-modules/json-schema-for-humans/default.nix index de8f63fea748..a26e35ce9cbf 100644 --- a/pkgs/development/python-modules/json-schema-for-humans/default.nix +++ b/pkgs/development/python-modules/json-schema-for-humans/default.nix @@ -35,12 +35,15 @@ buildPythonPackage rec { "dataclasses-json" ]; - nativeBuildInputs = [ + build-system = [ poetry-core + ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; - propagatedBuildInputs = [ + dependencies = [ click dataclasses-json htmlmin @@ -70,10 +73,10 @@ buildPythonPackage rec { meta = with lib; { description = "Quickly generate HTML documentation from a JSON schema"; - mainProgram = "generate-schema-doc"; homepage = "https://github.com/coveooss/json-schema-for-humans"; changelog = "https://github.com/coveooss/json-schema-for-humans/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ astro ]; + mainProgram = "generate-schema-doc"; }; }