Loading pkgs/development/python-modules/duo-client/default.nix +16 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,8 @@ , fetchFromGitHub , freezegun , mock , nose2 , pytestCheckHook , pythonOlder , pytz , setuptools , six Loading @@ -12,6 +13,9 @@ buildPythonPackage rec { pname = "duo-client"; version = "5.0.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "duosecurity"; Loading @@ -26,15 +30,18 @@ buildPythonPackage rec { --replace "flake8" "" ''; propagatedBuildInputs = [ nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ six ]; nativeCheckInputs = [ freezegun mock nose2 pytestCheckHook pytz ]; Loading @@ -42,6 +49,12 @@ buildPythonPackage rec { "duo_client" ]; disabledTests = [ # Tests require network access "test_server_hostname" "test_server_hostname_with_port" ]; meta = with lib; { description = "Python library for interacting with the Duo Auth, Admin, and Accounts APIs"; homepage = "https://github.com/duosecurity/duo_client_python"; Loading Loading
pkgs/development/python-modules/duo-client/default.nix +16 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,8 @@ , fetchFromGitHub , freezegun , mock , nose2 , pytestCheckHook , pythonOlder , pytz , setuptools , six Loading @@ -12,6 +13,9 @@ buildPythonPackage rec { pname = "duo-client"; version = "5.0.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "duosecurity"; Loading @@ -26,15 +30,18 @@ buildPythonPackage rec { --replace "flake8" "" ''; propagatedBuildInputs = [ nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ six ]; nativeCheckInputs = [ freezegun mock nose2 pytestCheckHook pytz ]; Loading @@ -42,6 +49,12 @@ buildPythonPackage rec { "duo_client" ]; disabledTests = [ # Tests require network access "test_server_hostname" "test_server_hostname_with_port" ]; meta = with lib; { description = "Python library for interacting with the Duo Auth, Admin, and Accounts APIs"; homepage = "https://github.com/duosecurity/duo_client_python"; Loading