From 2f8cde9591cb7635584f7d88ece1125353299309 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Thu, 14 Nov 2024 11:47:45 +0800 Subject: [PATCH] python3Packages.essentials-openapi: fix build (cherry picked from commit 7c3ed1b62e7a3c81a8a84fca648d12bb443fb05e) --- .../python-modules/essentials-openapi/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/essentials-openapi/default.nix b/pkgs/development/python-modules/essentials-openapi/default.nix index b6cc24262073..89eb9eff42e6 100644 --- a/pkgs/development/python-modules/essentials-openapi/default.nix +++ b/pkgs/development/python-modules/essentials-openapi/default.nix @@ -53,14 +53,18 @@ buildPythonPackage rec { ]; }; + pythonRelaxDeps = [ + "markupsafe" + ]; + pythonImportsCheck = [ "openapidocs" ]; - meta = with lib; { + meta = { homepage = "https://github.com/Neoteroi/essentials-openapi"; description = "Functions to handle OpenAPI Documentation"; changelog = "https://github.com/Neoteroi/essentials-openapi/releases/v${version}"; - license = licenses.mit; - maintainers = with maintainers; [ + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ aldoborrero zimbatm ];