From d3be011090e87251e3bd627ad5d912b6623773cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Lang?= Date: Thu, 28 Apr 2022 00:27:02 -0300 Subject: [PATCH] python3Packages.faraday-agent-parameters-types: add mising dependency Otherwise, importing "faraday_agent_parameters_types.utils" would fail because it couldn't find the module "packaging" --- .../faraday-agent-parameters-types/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix index 544cb93bca4..8649e069827 100644 --- a/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix +++ b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , marshmallow +, packaging , pytestCheckHook }: @@ -17,6 +18,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ marshmallow + packaging ]; checkInputs = [ @@ -28,7 +30,10 @@ buildPythonPackage rec { --replace '"pytest-runner",' "" ''; - pythonImportsCheck = [ "faraday_agent_parameters_types" ]; + pythonImportsCheck = [ + "faraday_agent_parameters_types" + "faraday_agent_parameters_types.utils" + ]; meta = with lib; { description = "Collection of Faraday agent parameters types";