From cdfd00bf8347ff6d03ab357390c7c372b080e5b5 Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Tue, 15 Oct 2024 14:36:28 +0200 Subject: [PATCH] python3Packages.drf-spectacular: add optional-dependencies for sidecar extra --- pkgs/development/python-modules/drf-spectacular/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/drf-spectacular/default.nix b/pkgs/development/python-modules/drf-spectacular/default.nix index cb9adc54051d..546e672dd938 100644 --- a/pkgs/development/python-modules/drf-spectacular/default.nix +++ b/pkgs/development/python-modules/drf-spectacular/default.nix @@ -93,6 +93,8 @@ buildPythonPackage rec { pythonImportsCheck = [ "drf_spectacular" ]; + optional-dependencies.sidecar = [ drf-spectacular-sidecar ]; + meta = with lib; { description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework"; homepage = "https://github.com/tfranzel/drf-spectacular";