Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.7 kB · 92 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293{ lib, aenum, aiohttp, buildPythonPackage, fetchPypi, flatdict, jwcrypto, pycryptodome, pycryptodomex, pydash, pyfakefs, pyjwt, pytest-asyncio, pytest-mock, pytest-recording, pytestCheckHook, python-jose, pythonOlder, pyyaml, setuptools, xmltodict, yarl,}:
buildPythonPackage rec { pname = "okta"; version = "2.9.13"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-jY6SZ1G3+NquF5TfLsGw6T9WO4smeBYT0gXLnRDoN+8="; };
build-system = [ setuptools ];
dependencies = [ aenum aiohttp flatdict jwcrypto pycryptodome pycryptodomex pydash pyjwt python-jose pyyaml xmltodict yarl ];
checkInputs = [ pyfakefs pytest-asyncio pytest-mock pytest-recording pytestCheckHook ];
enabledTestPaths = [ "tests/" ];
disabledTests = [ "test_client_raise_exception" # vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette "test_get_org_contact_user" "test_update_org_contact_user" "test_get_role_subscription" "test_subscribe_unsubscribe" "test_client_invalid_url" ];
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"; changelog = "https://github.com/okta/okta-sdk-python/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ jbgosselin ]; };}