python310Packages.okta: init at 2.8.0
This commit is contained in:
parent
a5227a409b
commit
f7fb1b13e1
74
pkgs/development/python-modules/okta/default.nix
Normal file
74
pkgs/development/python-modules/okta/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user