From d24cfa145239b3f4ccaab853f2babb70e5148679 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 11 Nov 2024 11:40:47 +0100 Subject: [PATCH] python312Packages.wsgidav: add inputs for cli usage Fixes #355155 --- .../python-modules/wsgidav/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/wsgidav/default.nix b/pkgs/development/python-modules/wsgidav/default.nix index c054153230931..5717b1779da76 100644 --- a/pkgs/development/python-modules/wsgidav/default.nix +++ b/pkgs/development/python-modules/wsgidav/default.nix @@ -2,13 +2,14 @@ lib, buildPythonPackage, cheroot, - fetchFromGitHub, - pytestCheckHook, - pythonOlder, defusedxml, + fetchFromGitHub, jinja2, json5, + lxml, + pytestCheckHook, python-pam, + pythonOlder, pyyaml, requests, setuptools, @@ -37,12 +38,16 @@ buildPythonPackage rec { defusedxml jinja2 json5 - python-pam + cheroot + lxml pyyaml ]; + optional-dependencies = { + pam = [ python-pam ]; + }; + nativeCheckInputs = [ - cheroot pytestCheckHook requests webtest