python310Packages.okta: init at 2.8.0

This commit is contained in:
JB Gosselin 2023-02-19 11:49:45 -05:00
parent a5227a409b
commit f7fb1b13e1
No known key found for this signature in database
2 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,74 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
# install requirements
, pycryptodome
, yarl
, flatdict
, python-jose
, aenum
, aiohttp
, pydash
, xmltodict
, pyyaml
# test requirements
, pytestCheckHook
, pytest-recording
, pytest-asyncio
, pytest-mock
, pyfakefs
}:
buildPythonPackage rec {
pname = "okta";
version = "2.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-yIVJoKX9b9Y7Ydl28twHxgPbUa58LJ12Oz3tvpU7CAc=";
};
propagatedBuildInputs = [
pycryptodome
yarl
flatdict
python-jose
aenum
aiohttp
pydash
xmltodict
pyyaml
];
checkInputs = [
pytestCheckHook
pytest-asyncio
pytest-mock
pytest-recording
pyfakefs
];
pytestFlagsArray = [ "tests/" ];
disabledTests = [
"test_client_raise_exception"
];
pythonImportsCheck = [
"okta"
"okta.cache"
"okta.client"
"okta.exceptions"
"okta.http_client"
"okta.models"
"okta.request_executor"
];
meta = with lib; {
description = "Python SDK for the Okta Management API";
homepage = "https://github.com/okta/okta-sdk-python";
license = licenses.asl20;
maintainers = with maintainers; [ dennajort ];
};
}

View File

@ -6643,6 +6643,8 @@ self: super: with self; {
oemthermostat = callPackage ../development/python-modules/oemthermostat { };
okta = callPackage ../development/python-modules/okta { };
olefile = callPackage ../development/python-modules/olefile { };
oletools = callPackage ../development/python-modules/oletools { };